# rescript-react-on-rails-example **Repository Path**: mirrors_shakacode/rescript-react-on-rails-example ## Basic Information - **Project Name**: rescript-react-on-rails-example - **Description**: Example of https://rescript-lang.org/ with React on Rails - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-12-29 - **Last Updated**: 2025-12-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # rescript-react-on-rails-example ## Setup the app ``` bundle yarn rails db:setup ``` ## Run the app ``` foreman start -f Procfile.dev-static ``` or ``` foreman start -f Procfile.dev ``` The latter will automatically reload the browser window when the you save a change to the `.res` file. # Docker Instructions 1. Edit the file `config/database.yml` per the comments in the file for Docker 2. Run the following: ```shell docker-compose build docker-compose run web yarn run build docker-compose up ```