What follows is a tentative guide to installing Beast, a forum application written in Ruby on Rails, on Media Temple Grid-Service.
Note: You will need about 35 MB of ram for Beast.
You must have a beast@domain.com user setup for sending activation emails.
ssh serveradmin%domain.com@domain.com **OS X Terminal
serveradmin@domain.com **Windows
mtr generate_config **serveradmin@domain.com and password
mtr setup_rubygemssource ~/.bash_profile
gem install rails -y
gem install mysql --source=http://gems.mediatemple.net
gem install postgres --source=http://gems.mediatemple.net
gem install daemons gem_plugin -y
gem install mongrel --source=http://gems.mediatemple.net
cd $HOME/../../containers
mkdir rails && cd rails
svn co -r 2873 http://svn.techno-weenie.net/projects/beast/trunk beast
cd beast
gem install RedCloth
gem install ruby-openid
cp config/database.example.yml config/database.yml
Note: Instead of installing beast from the stable 1.0 branch we checkout revision 2873 from the trunk. This way we can update to stable versions of the trunk without having to worry about merging branches. Stable 1.0 is actually revision 2907, but I have not been able to install it successfully.
production:
adapter: mysql
database: db#####_beast_production
username: db#####
password: xxxxxxx
host: internal-db.s#####.gridserver.com
Add your email settings to the end of the beast/config/environment.rb file.
# email settings
ActionMailer::Base.smtp_settings = {
:address => "mail.domain.com",
:port => 25,
:domain => "domain.com",
:authentication => :login,
:user_name => "beast@domain.com",
:password => "xxxxxxx"
}
rake db:schema:load RAILS_ENV=production
mtr add beast $PWD domain.com
mtr start beast
mtr generate_htaccess beast
mtr create_link beast domain.com
You can now see a working example by visiting http://yourdomain.com.