Rails server that communicates with the Action Path mobile app.
bundle installrake db:migratesudo apt-get install imagemagick -y
On your computer:
rails serverOr on c9:
rails s -b $IP -p $PORT- Make sure to compile the assets:
RAILS_ENV=production bin/rake assets:precompile - Make sure to put a secret token for production in
config/secrets.yml - Make sure to
sudo chown -R www-data:www-data public/so the web user can save images