User Tools

Site Tools


guides:install:webistrano

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

guides:install:webistrano [2009/08/21 18:11] (current)
Line 1: Line 1:
 +====== Installing Webistrano on CentOS ======
 +
 +
 +**webistrano install**
 +
 +Download latest package from:
 +
 +http://​labs.peritor.com/​webistrano/​wiki/​Download
 +
 +
 +  cd webistrano/​config
 +
 +Copy config/​webistrano_config.rb.sample to config/​webistrano_config.rb and edit appropriatly.
 +In this configuration file you can set the mail settings of Webistrano.
 +
 +
 +
 +  # mysql
 +  mysql> create database webistrano
 +
 +
 +  cd webistrano
 +  RAILS_ENV=production rake db:migrate
 +
 +
 +Start Webistrano by:
 +
 +  cd webistrano
 +  ruby script/​server -d -p 3000 -e production
 +
 +  cd /​www/​rails_apps/​webistrano/​
 +  ruby script/​server -d -p 3000 -e production
 +
 +
 +Webistrano is then available at http://​host:​3000/ ​ The default user is admin, the password is admin.
 +Please change the password after the first login. ​
 +
 +
 +**Mongrel Install to run Webistrano on Mongrel**
 +
 +Install Mongrel:
 +
 +  sudo gem install mongrel
 +
 +Start:
 +
 +  sudo gem install mongrel
 +  cd /​webistrano/​home/​path
 +  mongrel_rails start -e production -d -p 3000
 +
 +Stop:
 +
 +  cd /​webistrano/​home/​path
 +  mongrel_rails stop
 +
 +Restart:
 +
 +  cd /​webistrano/​home/​path
 +  mongrel_rails restart
 +
  
guides/install/webistrano.txt · Last modified: 2009/08/21 18:11 (external edit)