Skip to content

Latest commit

 

History

History
37 lines (30 loc) · 896 Bytes

README.md

File metadata and controls

37 lines (30 loc) · 896 Bytes

JacobsMKT

Dependencies

Setting up database

Set up mysql database username and password in JacobsMKT/config/database.yml

Build & Run

Development mode

$ cd JacobsMKT
$ bundle install
$ rake db:migrate
$ rails server

Manually open http://localhost:3000/ in your browser.

Production mode

$ 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.