Fix `make db' issue (db is now a dir) - warvox - VoIP based wardialing tool, forked from rapid7/warvox.
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit 87fadd022a11fcd97151c6a7cbef60bdefb44915
(DIR) parent 62d6590a9a59c044bf16fc5a750600a9ffd3ea5e
(HTM) Author: HD Moore <hd_moore@rapid7.com>
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(-)
---
(DIR) 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
(DIR) 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 "[*]"