Skip to content

Commit c389ce7

Browse files
committed
Merge pull request #34 from arunthampi/master
Add Hack button for Nitrous.IO
2 parents ed28791 + ab15f7f commit c389ce7

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,12 @@ by [Michael Hartl](http://michaelhartl.com/). You can use this reference impleme
1414
$ bundle exec rspec spec/
1515

1616
If the tests don't pass, it means there may be something wrong with your system. If they do pass, then you can debug your code by comparing it with the reference implementation.
17+
18+
## Get Started in seconds on Nitrous.IO
19+
20+
[Nitrous.IO](https://www.nitrous.io/?utm_source=github.com&utm_campaign=railstutorial-sample_app_rails_4&utm_medium=hackonnitrous) is a cloud-based platform that will let you start working on this project in a matter of seconds.
21+
22+
Click on the button below to get started:
23+
24+
[![Hack railstutorial/sample_app_rails_4 on
25+
Nitrous.IO](https://d3o0mnbgv6k92a.cloudfront.net/assets/hack-l-v1-3cc067e71372f6045e1949af9d96095b.png)](https://www.nitrous.io/hack_button?source=embed&runtime=rails&repo=railstutorial%2Fsample_app_rails_4&file_to_open=README.nitrous.md)

README.nitrous.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
## Get started with railstutorial/sample_app_rails_4
2+
3+
Run the following commands in the console below:
4+
5+
1. `cd ~/workspace/sample_app_rails_4`
6+
2. `cp config/database.yml.example config/database.yml`
7+
3. `bundle install`
8+
4. `bundle exec rake db:migrate`
9+
5. `bundle exec rails server`
10+
11+
By clicking on Preview > Port 3000, you can now preview your sample
12+
Rails App.
13+
14+
To check out more code, you can run tests, edit code and continue to
15+
iterate on this application. To run the test suite, run the following
16+
commands in the console:
17+
18+
1. `cd ~/workspace/sample_app_rails_4`
19+
2. `bundle exec rake db:test:prepare`
20+
3. `bundle exec rspec spec`

0 commit comments

Comments
 (0)