<p> <strong><span style="font-size:18px;">Homework1 -- RailsIntro: Rotten Potatoes</span></strong> </p> <p> <span style="font-size:16px;">---------</span> </p> <p> <br /> </p> <p> <span style="font-size:16px;">You can browse this app on </span><u><a href="https://sai-c9-rottenpotato.herokuapp.com/" target="_blank"><span style="font-size:16px;">https://sai-c9-rottenpotato.herokuapp.com/</span></a></u> </p> <p> <br /> </p> <p> <span style="font-size:16px;">I've uploaded the code on GitHub <s>as I cannot create a repo here.</s></span><span style="font-size:16px;"> and Trustie.</span> </p> <p> <span style="font-size:16px;"><br /> </span> </p> <p> <span style="font-size:16px;">Please view the code on </span><a href="https://github.com/saintube/trustie-hw1-rottenpotatoes" target="_blank"><span style="font-size:16px;">https://github.com/saintube/trustie-hw1-rottenpotatoes</span></a><span style="font-size:16px;"> or get the code by</span> </p> <p> <br /> </p> <p> <span style="background-color:#CCCCCC;"> </span><span style="background-color:#CCCCCC;">git clone git@github.com:saintube/trustie-hw1-rottenpotatoes.git </span> </p> <p> <span style="background-color:#FFFFFF;"> or</span> </p> <p> <span style="background-color:#CCCCCC;"><span style="background-color:#FFFFFF;"> </span><span style="background-color:#CCCCCC;"> </span><span style="background-color:#CCCCCC;">git clone http://git.trustie.net/saintube/hw1-rotten-potatoes.git </span><br /> </span> </p>
RottenPotatoes demo app: getting started
This app is associated with the free online course and (non-free) ebook Engineering Software as a Service.
To get started LOCALLY:
Setup a Cloud9 environment for the course.
Fork this repo to your GitHub account, then in your Cloud9 terminal, type the following command to clone your fork to your development workspace:
git clone git@github.com:your_github_username/rottenpotatoes-rails-intro.git
Then
cd rottenpotatoes-rails-intro
to change to the app’s directory.Run the command
bundle install --without production
to make sure all the gems (libraries) used by the app are in place.Run
bundle exec rake db:setup
to create the initial database.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.To preview ONLINE:
Please visit https://sai-c9-rottenpotato.herokuapp.com/ or get the code on Heroku from https://git.heroku.com/sai-c9-rottenpotato.git