| Updated instructions to take into account the new postgresql work - warvox - Vo… | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| commit 4e04b3f0d5dc3a8523a214c97bf94e38eab94c60 | |
| parent dd99a0b18c1af6a006281f0ad3d5e70cb78bbe7a | |
| Author: HD Moore <[email protected]> | |
| Date: Sun, 11 Sep 2011 18:40:25 +0000 | |
| Updated instructions to take into account the new postgresql work | |
| Diffstat: | |
| M Makefile | 2 +- | |
| M bin/verify_install.rb | 32 +++++++++++++++++++++++++++++… | |
| 2 files changed, 31 insertions(+), 3 deletions(-) | |
| --- | |
| diff --git a/Makefile b/Makefile | |
| @@ -18,7 +18,7 @@ ruby-kissfft: | |
| db: | |
| @echo "Checking the database.." | |
| - (cd web; RAILS_ENV=production rake db:migrate ) | |
| + (cd web; RAILS_ENV=production bundle exec rake db:migrate ) | |
| bundler: | |
| @echo "Checking for RubyGems and the Bundler gem..." | |
| diff --git a/bin/verify_install.rb b/bin/verify_install.rb | |
| @@ -70,6 +70,34 @@ puts "[*] The DTMF2NUM binary appears to be available" | |
| puts " " | |
| -puts "[*] Congratulations! You are now ready to run WarVOX" | |
| -puts "[*] Start WarVOX with bin/warvox.rb" | |
| +puts "[*] Congratulations! You are almost ready to run WarVOX" | |
| puts " " | |
| +puts "[*] Configuring the PostgreSQL database server:" | |
| +puts "[*] 1. Install postgresql:" | |
| +puts "[*] $ sudo apt-get install postgresql-8.4" | |
| +puts "[*]" | |
| +puts "[*] 2. Install postgresql community contributed modules:" | |
| +puts "[*] $ sudo apt-get install postgresql-8.4-contrib" | |
| +puts "[*]" | |
| +puts "[*] 3. Load contributed integer routines into template1:" | |
| +puts "[*] $ sudo su - postgres" | |
| +puts "[*] $ psql template1" | |
| +puts "[*] psql> \\i /usr/share/postgresql/8.4/contrib/_int.sql" | |
| +puts "[*] psql> exit" | |
| +puts "[*]" | |
| +puts "[*] 4. Configure a user account, password, and database for WarVOX:" | |
| +puts "[*] $ sudo su - postgres" | |
| +puts "[*] $ createuser warvox" | |
| +puts "[*] $ createdb warvox -O warvox" | |
| +puts "[*] $ psql" | |
| +puts "[*] psql> alter user warvox with password 'randompass';" | |
| +puts "[*] psql> exit" | |
| +puts "[*]" | |
| +puts "[*] 5. Modify web/config/database.yml to match this password" | |
| +puts "[*]" | |
| +puts "[*] 6. Modify etc/warvox.conf and set a UI password" | |
| +puts "[*]" | |
| +puts "[*] 7. Start WarVOX with bin/warvox.rb" | |
| +puts "[*]" | |
| +puts "[*] 8. Login to http://127.0.0.1:7777/" | |
| +puts "[*]" |