frist sign in on openshift.redhat.com or sign up new one its free with 1GB storeage.
if existing member openshift know for start, using rhc setup
gem install rhc --no-ri --no-rdoc
rhc app create redmine ruby-1.9 mysql-5.1 cron-1.4 phpmyadmin-4
rhc ssh redmine
cd ~/app-root/runtime/repo
Get redmine stable releases from redmine/wiki/Download
wget http://www.redmine.org/releases/redmine-2.4.2.tar.gz && tar --strip-components=1 -zxvf *.tar.gz && rm *.tar.gz
wget http://www.redmine.org/releases/redmine-2.3.4.tar.gz && tar --strip-components=1 -zxvf *.tar.gz && rm *.tar.gz
wget --no-check-certificate https://gist.github.com/tigefa4u/8215989/raw/4055a0ad6d7357e637de96232c70dc72047b722e/database.yml && mv database.yml config/
gem install bundler --no-ri --no-rdoc
bundle install --no-deployment
rake generate_secret_token
RAILS_ENV=production rake db:migrate
Database default data set more
RAILS_ENV=production rake redmine:load_default_data
Use default administrator account to log in:
login: admin
password: admin
You can go to Administration menu and choose Settings to modify most of the application settings.
rhc alias add redmine redmine.myproject.org
see repo.tigefa.org