afbroman / reason-react-on-rails-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

reason-react-on-rails-example

Setup the app

bundle
yarn
rails db:setup

Run the app

foreman start -f Procfile.dev

or

foreman start -f Procfile.dev-server

The latter will automatically reload the brower window when the you save a change to the .re file.

Docker Instructions

  1. Edit the file config/database.yml per the comments in the file for Docker
  2. Run the following:
docker-compose build
docker-compose run web yarn run build
docker-compose up

About


Languages

Language:Ruby 72.7%Language:HTML 14.1%Language:JavaScript 6.9%Language:OCaml 3.3%Language:CSS 1.7%Language:Dockerfile 1.3%