You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
10 years ago | |
|---|---|---|
| app | 11 years ago | |
| bin | 11 years ago | |
| config | 10 years ago | |
| db | 10 years ago | |
| lib | 11 years ago | |
| public | 11 years ago | |
| spec | 11 years ago | |
| vendor/assets | 11 years ago | |
| .gitignore | 11 years ago | |
| .rspec | 11 years ago | |
| Gemfile | 10 years ago | |
| Gemfile.lock | 10 years ago | |
| README.md | 10 years ago | |
| Rakefile | 11 years ago | |
| config.ru | 11 years ago | |
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:
-
Setup a Cloud9 environment for the course.
-
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
-
Then
cd rottenpotatoes-rails-introto change to the app's directory. -
Run the command
bundle install --without productionto make sure all the gems (libraries) used by the app are in place. -
Run
bundle exec rake db:setupto create the initial database. -
Run
rails server -p $PORT -b $IPto start the app. Cloud9 will pop up a window showing the URL to visit in your browser to interact with the running app.