Skip to content

Commit

Permalink
Merge pull request #504 from internetee/registry-503
Browse files Browse the repository at this point in the history
Improve db setup
  • Loading branch information
vohmar authored May 10, 2017
2 parents 7e8c407 + 3954a7c commit b478712
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 1,271 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ before_script:
- "cp config/application-example.yml config/application.yml"
- "cp config/secrets-example.yml config/secrets.yml"
- "cp config/database-travis.yml config/database.yml"
- "RAILS_ENV=test bundle exec rake db:all:create"
- "RAILS_ENV=test bundle exec rake db:all:schema:load"
- "RAILS_ENV=test bundle exec rake db:migrate"
- "RAILS_ENV=test bundle exec rake db:setup:all"
script:
- "RAILS_ENV=test bundle exec rspec"
after_success:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Manual demo install and database setup:
bundle
cp config/application-example.yml config/application.yml # and edit it
cp config/database-example.yml config/database.yml # and edit it
bundle exec rake db:all:setup # for production, please follow deployment howto
bundle exec rake db:setup:all # for production, please follow deployment howto
bundle exec rake assets:precompile

### Apache with patched mod_epp (Debian 7/Ubuntu 14.04 LTS)
Expand Down
Loading

0 comments on commit b478712

Please sign in to comment.