| Fix `make db' issue (db is now a dir) - warvox - VoIP based wardialing tool, fo… | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| commit 87fadd022a11fcd97151c6a7cbef60bdefb44915 | |
| parent 62d6590a9a59c044bf16fc5a750600a9ffd3ea5e | |
| Author: HD Moore <[email protected]> | |
| Date: Fri, 28 Dec 2012 13:29:05 -0600 | |
| Fix `make db' issue (db is now a dir) | |
| Diffstat: | |
| M Makefile | 9 +++++---- | |
| M bin/verify_install.rb | 2 +- | |
| 2 files changed, 6 insertions(+), 5 deletions(-) | |
| --- | |
| diff --git a/Makefile b/Makefile | |
| @@ -5,10 +5,6 @@ test: install | |
| install: bundler | |
| -db: | |
| - @echo "Checking the database.." | |
| - RAILS_ENV=production bundle exec rake db:migrate | |
| - | |
| bundler: | |
| @echo "Checking for RubyGems and the Bundler gem..." | |
| @ruby -rrubygems -e 'require "bundler"; puts "OK"' | |
| @@ -18,3 +14,8 @@ bundler: | |
| @echo "Installing missing gems as needed.." | |
| bundle install | |
| + | |
| + | |
| +database: | |
| + @echo "Checking the database.." | |
| + RAILS_ENV=production bundle exec rake db:migrate | |
| diff --git a/bin/verify_install.rb b/bin/verify_install.rb | |
| @@ -81,7 +81,7 @@ puts "[*]" | |
| puts "[*] 6. Modify config/warvox.conf and set a UI password" | |
| puts "[*]" | |
| puts "[*] 7. Initialize the WarVOX database" | |
| -puts "[*] $ make db" | |
| +puts "[*] $ make database" | |
| puts "[*]" | |
| puts "[*] 8. Start WarVOX with bin/warvox.rb" | |
| puts "[*]" |