Skip to content

mudathirmahgoub/hw6fall17

Repository files navigation

begin rdoc

This directory contains the Rotten Potatoes rails app that we will use for HW6 and enhance througout the semester.

You can copy this directory to your Cloud9 wokspace by first forking the SELT/RottenPotatoes GitHub repo to your GitHub account and then cloning it to your Cloud9 workspace.

Before running the app, change into the top-level directory–i.e. the one containing this README file–and enter the following commands to install gems and set up and initialize the database (You only need to do this before running the app for the first time:

bundle install

rake db:migrate

rake db:seed

Now you are ready to try out the app. Enter the following command to start the rails server:

rails server -p $PORT -b $IP

(If you are running the app in an environment other than our class CLoud9 workspace, the command for starting the rails server might be slightly different)

After the server has started, you should see a small window that says:

“Your code is running at <some URL ending in C9>”

You can either click on the URL to open a small browser within Cloud9, or type the supplied URL into your favorite browser.

When you are done using the app, you can kill the rails server by typing:

Ctrl-c

Have fun.

end

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published