Skip to content

Files

Latest commit

 

History

History
27 lines (14 loc) · 816 Bytes

README.md

File metadata and controls

27 lines (14 loc) · 816 Bytes

RottenPotatoes demo app: getting started

  1. Fork and clone this repo (github.com/SELT/rotten-potatoes)

  2. Then do cd rotten-potatoes to change to the app's top-level directory.

  3. Next type gem install bundler to install the bundler gem

  4. Enter the command bundle install --without production to make sure all the gems (libraries) used by the app are in place.

  5. Run rake db:create to create the initial database.

  6. Run rake db:migrate to apply the database migrations.

  7. Run rake db:seed to seed the initial database contents.

  8. Run rails server -p $PORT -b $IP to start the app. Cloud9 will pop up a window showing the URL to visit in your browser to interact with the running app. You can also view the app in the Cloud9 "Preview" window.

  9. To kill the server, enter CNTL-c.