Coder Social home page Coder Social logo

hw6fall17's Introduction

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

hw6fall17's People

Contributors

schkrabrty avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.