- Go to http://rubyonrails.org/download
- Install Ruby
- Install RubyGems
- Run [ gem install rails ]
- Run [ gem install mysql ] (in case we want to use mysql as db, sqlite is fine though)
- Run [ gem install rake ]
- Run [ gem install sqlite3-ruby ]
- Extract redmine (I extracted to C:\Ruby\redmine-0.8.4)
- Browse to redmine folder/config
- Copy database.yml.example to database.yml
- Set database options for production:
- In production:
- adapter: sqlite3
- dbfile: db/prod.db
- host: localhost
- Get sqlite3.dll from sqlite 3 distribution (http://www.sqlite.org) and put in Ruby/bin directory
- Browse to Redmine directory in command prompt
- Run [ rake db:migrate RAILS_ENV="production" ]
- Run [ rake redmine:load_default_data RAILS_ENV="production" ]
- Run [ gem install mongrel ]
- Run [ gem install mongrel_service ]
- Run [ mongrel_rails service::install -N Redmine_Server -D "Redmine Server on Mongrel" -e "production" ]
- Start service and set to “Automatic”
- Username: admin Password: admin
- Refer to http://www.redmine.org/wiki/redmine/RedmineInstall for SMTP config (If you want emails generated for tickets, etc.)
- Install CollabNet SVN as svnservice (WebDAV not needed), svn root C:\svn_repository
- Start service “CollabNet Subversion svnserve”
- Run [ svnadmin create c:\svn_repository ]
- Uncomment anon-access = read, auth-access = write, password-db = passwd in svnserve.conf
- Add users to Redmine, have user change password to whatever they want it to
- Add users to passwd (same username), all plaintext, so create random passwords for each user and have them record it (cannot be changed unless requested by admin, and admin will know what pw is)
- Restart Redmine_Server service
- Create subfolders for projects, and trunk/tags/branches for each project
- Add svn://localhost/projectname as project root for each project in Redmine
Source: http://www.rvaidya.com/blog/ruby/2009/09/15/step-by-step-quick-installation-of-redmine-svn-on-windows/