Getting Started

  1. Install node
  2. Install gulp dependencies (cd frontend && npm install)
  3. Install rvm
  4. Return to root directory cd ..
  5. Install ruby 2.1.2 rvm install 2.1.2
  6. Install bundler gem install bundler
  7. Run bundle in this directory
  8. Start the server with foreman start

Development Details

When you run foreman start the server is started and a gulp task is also started. This allows you to edit the files in the frontend directory and see your changes in the website.

The gulp task will compile your sass, image, etc. changes and move them to the public folder. The public folder is auto-generated and should not be modified. Any code you place manually in the public folder will be overwritten.

The app has live-reload enabled so when you make a change to one of the files it is watching, the browser will refresh for you automatically.

If you would like to run the app in production mode, you can do so by running:

foreman start -f Procfile.prod

View in your browser on port 5000.