Pages

Thursday, June 10, 2010

RedMine Installation on Windows (issue tracker)

RedMine

The current version of the installation instructions are at my RedMine page.

The instructions below are now obsolete!

------------------------------------------------------------------------------------

Installation

Official document (link).
Install Ruby 1.8.7.
Extract RubyGems, then run "ruby setup.rb" to install.
Install Rails: "gem install rails" or, in the command line, run:
gem install rails -v=2.3.5


Install Rack: "gem install rack -v=1.0.1"
(try to Install "gem install sqlite3-ruby".)


Configuration
Set configuration. Copy config/database.yml.example to config/database.yml. Set the following:
#production:
#  adapter: mysql
#  database: redmine
#  host: localhost
#  username: root
#  password:
#  encoding: utf8

production:
adapter: sqlite3
dbfile: db/redmine.db



Set the environment: "set RAILS_ENV=production"
Initialize session store: "rake config/initializers/session_store.rb"
Copy sqlite3.dll into ruby/bin directory.
Initialize the database. Run "rake db:migrate RAILS_ENV="production" --trace"
Install sqlite ruby. "gem install sqlite3-ruby"
Populate the database. Run "rake redmine:load_default_data RAILS_ENV="production" " and press enter (or select another languge).
Run Redmine. Go to Redmine installation directory and type
"ruby script/server webrick -e production"

No comments: