スポンサーリンク

Openshift(rhcloud)にRedmine3.2をインストール

openshiftすごい。Redmine2.4なら、簡単にインストールできる。1GBまで無料。

今回は、Openshiftに、Redmine3.2をインストールした。

http://swquality.jp/?p=659
OPENSHIFT でRedmineを立ててみた 投稿日: 2016年5月4日

Install Redmine 3.x on OpenShift
https://gist.github.com/gbrlmza/a025e876548cb58bda5b0baed4cf5071

deploy redmine on openshift with ssh 28 August 2016
https://tigefa.space/articles/03-01-2014-deploy-redmine-on-opensift-with-ssh.html

(1)openshiftに、Redmine3.2をインストールしたい!

https://tigefa.space/articles/03-01-2014-deploy-redmine-on-opensift-with-ssh.html

の通りにやってみる。

cmd.exe で、

rhc app create redmine ruby-2.0 mysql-5.5

コマンドプロンプトではsshログインができなかったので、PuTTYでSSH接続

image

cd ~/app-root/runtime/repo

wget –no-check-certificate http://www.redmine.org/releases/redmine-3.2.0.tar.gz; tar –strip-components=1 -xf *.tar.gz; rm *.tar.gz

wget –no-check-certificate http://git.io/Y_wiJw -O config/database.yml

gem install bundler –no-ri –no-rdoc

bundle install –no-deployment

ここでものすごく時間がかかる。

image
bundle exec rake generate_secret_token

RAILS_ENV=production rake db:migrate

RAILS_ENV=production REDMINE_LANG=ja bundle exec rake redmine:load_default_data

最後だけ、参考

http://blog.redmine.jp/articles/3_2/install/centos/
Redmine 3.2をCentOS 7.1にインストールする手順 2015-12-07

image

再起動

image

OpenshiftにRedmine3.2できたか!?

image

admin, adminでログインできた!すぐに、パスワードを変更しておく。

念願のガントチャートに日付表示!

image

 

(2)Redmineを使い始めるための設定

Redmineを使い始めるための設定
http://redmine.jp/tech_note/first-step/admin/

を見ながら、適宜設定。

http://redmine.jp/faq/administration/require-auth/

スポンサーリンク

Rails

Posted by twosquirrel