Let’s install Redmine 5.0 - flexible project management on Windows. Official installation instructions are here. Study them carefully.
Here are my notes based on trial and error while attempting to install Redmine 5.0.3 on Windows 10. Same steps can be used for upgrading installation.
-
Download Redmine 5.0 installation zip.
-
Install scoop
-
In scoop add versions bucket
-
Use scoop install -g ruby27 msys2
-
Run ridk install to finish ruby installation. On prompt press ENTER.
-
Unpack redmine zip
-
Install PostgreSQL. I use version 12. Different versions should work.
-
Create database for redmine as documented in official guide.
-
Configure database in config/database.yml
-
Run: bundle install –without development test
-
Run: bundle exec rake db:migrate RAILS_ENV=production
-
Initial installation only. Load default data: bundle exec rake redmine:load_default_data RAILS_ENV=production
-
Start Redmine server: bundle exec rails server -u webrick -e production
-
Login at http://localhost:3000/