Set up mysql database username and password in JacobsMKT/config/database.yml
$ cd JacobsMKT
$ bundle install
$ rake db:migrate
$ rails server
Manually open http://localhost:3000/ in your browser.
$ cd JacobsMKT
$ bundle install
$ RAILS_ENV=production rake db:migrate
$ RAILS_ENV=production rails server
Deployment on Heroku##
Make sure that JacobsMKT/config/database.yml
contains following lines
production:
url: <%= ENV['DATABASE_URL'] %>
so that database details are configured automatically.