Install and configure apache + passenger¶
see github.com/riseuplabs/Crabgrass-Core/bl...
sudo aptitude install make apache2-dev libapr1-dev libaprutil1-dev gcc
gem install passenger
sudo passenger-install-apache2-module
Install and configure sphix¶
wget sphinxsearch.com/files/sphinx-2.0.4-rel...
tar -xvzf sphinx-2.0.4-release.tar.gz
cd sphinx-2.0.4-release
./configure -sysconfdir=/etc
sudo make install
cd ..
cd crabgrass-core/
vim config/sphinx.yml
rake ts:config RAILS_ENV=production
rake cg:site:create NAME=IRI RAILS_ENV=production
gem install chronic packet —no-ri —no-rdoc
script/backgroundrb start
rake ts:index RAILS_ENV=production
vim config/database.yml
rake ts:start RAILS_ENV=production
Install and configure capistrano¶
vim config/deploy.rb
gem install capistrano
cap production deploy
cap deploy:setup
cap deploy:check
cap deploy
cap deploy:setup
cap deploy:check
cap deploy
for some reason fails here:
- localhost :: err fatal: reference is not a tree: 258fc756a517e3a65ff126a389afbf
91c0cf893b
command finished in 1772ms