Updated makefile and readme - warvox - VoIP based wardialing tool, forked from rapid7/warvox.
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit 0cb39258284c75990e191512d3f3c012e5099929
(DIR) parent 7d3179ce7c764492cf7059de190baf42163037a5
(HTM) Author: HD Moore <hd_moore@rapid7.com>
Date: Sun, 1 Mar 2009 22:02:00 +0000
Updated makefile and readme
Diffstat:
M Makefile | 11 ++++++++++-
M README | 2 +-
2 files changed, 11 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/Makefile b/Makefile
@@ -1,6 +1,6 @@
all: install
-install: iaxrecord ruby-kissfft
+install: iaxrecord ruby-kissfft db
cp -a src/iaxrecord/iaxrecord bin/
cp -a src/ruby-kissfft/kissfft.so lib/
@@ -11,6 +11,15 @@ ruby-kissfft:
( cd src/ruby-kissfft/; ruby extconf.rb )
make -C src/ruby-kissfft/
+db: db_null web/db/production.sqlite3
+ @echo "Checking the database.."
+
+db_null:
+ find web/db/ -name 'production.sqlite3' -size 0 | xargs -i rm {}
+
+web/db/production.sqlite3:
+ (cd web; RAILS_ENV=production rake db:migrate )
+
clean:
( cd src/ruby-kissfft/; ruby extconf.rb )
make -C src/ruby-kissfft/ clean
(DIR) diff --git a/README b/README
@@ -3,7 +3,7 @@ WarVOX Quick Start Guide
1. Install all pre-requisites
Ubuntu:
- $ sudo apt-get install libiaxclient-dev sox lame ruby gnuplot
+ $ sudo apt-get install libiaxclient-dev sox lame ruby rubygems libsqlite3-ruby gnuplot
2. Build the WarVOX tools and modules
$ make install