Aptitude install apache2
http://www.modrails.com/
Aptitude install passenger?
LoadModule passenger_module /home/ubuntu/.rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.9/ext/apache2/mod_passenger.so
PassengerRoot /home/ubuntu/.rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.9
PassengerRuby /home/ubuntu/.rvm/wrappers/ruby-1.9.2-p290/ruby
Add a virtual host to your
Apache configuration file and set its DocumentRoot to /somewhere/public:
<VirtualHost *:80>
ServerName www.yourhost.com
DocumentRoot /somewhere/public # <-- be sure to point to 'public'!
<Directory /somewhere/public>
AllowOverride all # <-- relax Apache security settings
Options -MultiViews # <-- MultiViews must be turned off
</Directory>
</VirtualHost>
git clone github/dansoftllc/rent-spree
cd rent-spree
bundle install
RAILS_ENV=production rake db:create
rake db:migrate
rake db:seed
Rails c production
Spree::Config.set (:allow_ssl_in_production => false)
Sudo Service apache2 stop/start/restart
-- install updates from git
Git pull origin master
Rake assets:precompile