How to install a Ruby on Rails 2.0 Redmine on Engines website

# on local machine
# check out a working copy of redmine from svn repository trunk

cd ~/work
svn co http://redmine.rubyforge.org/svn/trunk ~/work/redmine_trunk
cd ~/work/redmine_trunk

# install engines plugin
# this will auto install to your railsapp/vendor/plugins/engines directory

script/plugin install http://svn.rails-engines.org/plugins/engines

# create a database.yml file

nano config/database.yml
see database.yml for sqlite3 file

# migrate the database using rake task

rake db:migrate RAILS_ENV=production
rake db:migrate RAILS_ENV=development

# load default redmine data

rake redmine:load_default_data RAILS_ENV=production
rake redmine:load_default_data RAILS_ENV=development

# start local mongrel/webrick servers to test the installation

ruby script/server -e production -p 3000
ruby script/server -e development -p 3001

# in web browser, navigate to both “production” server and “development” server

http://localhost:3000/
http://localhost:3001/

# log in to redmine as administrator

username: admin
password: admin

Leave a Comment

You must be logged in to post a comment.