No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.atom
app
bin
config
db
lib
public
test
vendor
.babelrc
.gitignore
.postcssrc.yml
Dockerfile
Gemfile
Gemfile.lock
Procfile.dev
Procfile.dev-server
README.md
Rakefile
bsconfig.json
config.ru
docker-compose.yml
package.json
yarn.lock

README.md

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