Here I will describe Redmine installation with SQLite and MySQL. InstallationOfficial document (link). Version numbers below might be obsolete so check the original document. If you are behind an authenticating proxy, run the following in a batch file to set up the proxy for gem:
set USER=myUsername
SET HTTP_PROXY=http://%USER%:%PASSWORD%@%SERVER%:%PORT% Install Ruby 1.8.x from RubyInstaller. (Eventually download and extract RubyGems, then run "ruby setup.rb" to install.) Install Rails: Install Rack:
Check-out Redmine from repository (mercurial, git, or svn). ConfigurationSet 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
Initialize session store: "rake config/initializers/session_store.rb" or rake generate_session_storeSetup DatabaseSelect a database type (SQLite, MySQL, Postgres), then do the steps for that particular DBMS. After that do the Common steps below.SQLiteCopy sqlite3.dll into ruby/bin directory. Install SQLite Ruby bindings
MySQLInstall MySQL from the download page. Install MySQL Workbench. Installation and configuration are pretty straightforward. Create new database (schema) for Redmine. I created one called 'redmine' to fit the Redmine's database.yml file. CommonCreate database structure and populate the database. Add "--trace" if you get any issues. set RAILS_ENV=production rake db:migrate rake redmine:load_default_data
Then try to run it manually. Open command prompt and go to Redmine root directory. Run
If that starts successfully, install service packages. On Windows 6.x (2008, 7, or 2008 R2) use gem install mongrel_service --include-dependencies --platform=mswin32 gem install mongrel_service --include-dependencies To confirm the installation worked, start mongrel from Redmine installation directory with mongrel_rails start -e production Now install mongrel as a service on Windows. Make sure you run the command prompt as Administrator.mongrel_rails service::install -N redmine_service -e production Set the service startup type to Automatic and run it. To remove Windows service run sc delete ServiceNameReferences:
Text FormattingTo create a link to commit in the source code repository, use the first 12 digits of the hash! LDAP IntegrationIt is quite easy to integrate Redmine with Active Directory (or any LDAP service). What I found confusing was that the LDAP root is case-sensitive! Changing "dc=domain, dc=com" to "DC=domain, DC=com" made a whole lot of a difference between LDAP integration not working and working! Documentation is here. Scrum/Agile
|