Redmine
How to Deploy Redmine
Redmine is an open-source, web-based project management and issue-tracking application built with Ruby on Rails. It can be installed from Marketplace or deployed manually to a Ruby application server with a MySQL database.
One-click option
Redmine can also be installed from the platform Marketplace. Use the manual workflow below when you need to configure the application and database yourself.
Create the Environment
Open the environment wizard
Sign in to the dashboard and click Create Environment.
Select the required topology
Open the Ruby tab, select Apache as the application server and MySQL as the database. Set the Cloudlet limits, enter an environment name such as redmine, and click Create.

Wait for provisioning
Wait until the environment is created and both nodes are available in the dashboard.

Deploy Redmine
Download Redmine
Download the latest stable Redmine release as a .tar.gz or .zip archive from the official Redmine website.

Upload the package
Return to the platform dashboard and upload the archive through Deployment Manager.

Deploy to the environment
Click Deploy to beside the archive, select the Redmine environment, choose Production as the deployment type, and click Deploy.

Configure the Database
Open the MySQL admin panel
Click Open in Browser beside the MySQL node.

Open the SQL tab
Sign in using the database credentials provided after environment creation and open the SQL tab.

Create the Redmine database
Run the following query:
CREATE DATABASE redmine CHARACTER SET utf8;

Open Apache configuration
Return to the dashboard and click Config beside the Apache node.

Create database.yml
Go to webroot > ROOT > config, copy the content of database.yml.example, create a new file named database.yml, and paste the copied configuration into it.


Set the MySQL connection
In the production section, enter the MySQL host without http://, along with the database username and password supplied by the platform. Save the file.

Other deployment modes
When changing the application to development or test mode later, add the database connection details to the corresponding section of database.yml.
Configure the Application Server
Create rake_deploy
In webroot > ROOT, create a file named rake_deploy.

Add the Redmine tasks
Add one task per line:
generate_secret_token db:migrate redmine:load_default_data

Restart Apache
Save the file and restart the Apache node. The platform executes the Rake tasks during restart.

Open Redmine
Click Open in Browser beside the environment. The Redmine home page should open after the application initialization is complete.


Expected Result
A Redmine application is deployed in a Ruby Apache environment, connected to the MySQL redmine database, initialized through the required Rake tasks, and accessible from the environment URL.
Important Notes
- Use the production database section when Redmine is deployed in Production mode.
- Keep MySQL credentials secure and do not expose them publicly.
- Create
database.ymlfrom the supplied example file. - Place
rake_deployin the application root. - Add one Rake task per line without the
rakeprefix. - Review Apache and deployment logs when initialization fails.
Common Issues and Solutions
db:migrate ran successfully after the Apache restart.redmine:load_default_data in the environment logs.