Skip to content

Commit 6b64f2e

Browse files
committed
update readme
1 parent 86cd423 commit 6b64f2e

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
# How to Install
22

33
1. Clone this repository
4-
2. Rename the repo `mv rails5-api-guide/ my_app`
5-
3. Inside your database.yml rename the database to whatever you want, otherwise it will just be named `generic_api_development`, `generic_api_test`, `generic_api_production` for each environment respectively.
6-
4. Rename the top level module inside `application.rb` to whatever you want otherwise it will be named `GenericApi`
7-
5. Run `bundle install`
8-
6. Run `bundle exec rake db:create`
9-
7. Run `bundle exec rake db:migrate; RAILS_ENV=test bundle exec rake db:migrate`
10-
8. Boot up the server with `rails s` and navigate to localhost:3000 to see your new rails application
4+
2. Inside your database.yml rename the database to whatever you want, otherwise it will just be named `generic_api_development`, `generic_api_test`, `generic_api_production` for each environment respectively.
5+
3. Rename the top level module inside `application.rb` to whatever you want otherwise it will be named `GenericApi`
6+
4. Run `bundle install`
7+
5. Run `bundle exec rake db:create`
8+
6. Run `bundle exec rake db:migrate; RAILS_ENV=test bundle exec rake db:migrate`
9+
7. Boot up the server with `rails s` and navigate to localhost:3000 to see your new rails application
1110

1211
If you are interested in how this app was setup and what is included read on.
1312

0 commit comments

Comments
 (0)