bundle install
Set variables used by Procfile
echo "RACK_ENV=development" >> .env
bundle exec foreman start
To run rake tasks that need information from .env
:
foreman run rake taskname
A Sinatra project template
bundle install
Set variables used by Procfile
echo "RACK_ENV=development" >> .env
bundle exec foreman start
To run rake tasks that need information from .env
:
foreman run rake taskname