Go to file
dingluchuan e25520f24f 33444 2016-11-24 13:56:26 +00:00
app skeleton ready 2015-08-08 19:35:23 -07:00
bin Version usable with hw-rails-intro 2015-08-08 19:17:58 -07:00
config added root route 2015-11-09 07:40:51 -05:00
db use Guard rather than autotest; version initial schema.rb 2016-04-03 16:08:26 -07:00
lib Version usable with hw-rails-intro 2015-08-08 19:17:58 -07:00
public Version usable with hw-rails-intro 2015-08-08 19:17:58 -07:00
spec Version usable with hw-rails-intro 2015-08-08 19:17:58 -07:00
vendor/assets Version usable with hw-rails-intro 2015-08-08 19:17:58 -07:00
.gitignore adding base files from rottenpotatoes app 2015-08-08 19:24:10 -07:00
.rspec Version usable with hw-rails-intro 2015-08-08 19:17:58 -07:00
Gemfile Update Gemfile 2016-06-23 10:48:22 +01:00
Gemfile.lock updates Gemfile.lock to Rails 4.2.6 and Ruby 2.3.0 2016-06-23 09:52:00 +00:00
README.md Update README.md 2016-06-23 10:47:48 +01:00
Rakefile Version usable with hw-rails-intro 2015-08-08 19:17:58 -07:00
config.ru Version usable with hw-rails-intro 2015-08-08 19:17:58 -07:00
heroku login 33444 2016-11-24 13:56:26 +00:00
heroku login.pub 33444 2016-11-24 13:56:26 +00:00

README.md

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:

  1. Setup a Cloud9 environment for the course.

  2. In your Cloud9 terminal, type the following command to clone the repository to your development workspace:

git clone git@github.com:saasbook/rottenpotatoes-rails-intro.git

  1. Then cd rottenpotatoes-rails-intro to change to the app's directory.

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

  3. Run bundle exec rake db:setup to create the initial database.

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