Home > Tags > redmine
redmine
redmineで学ぶプロジェクトマネージメント
- 2009/11/04
- Web開発関連
タイトルはちょっとおおげさですが、REDMINE を会社で使い始めて1年ぐらいたちました。
その前は TRAC を使っていたのですが管理がめんどくさいので REDMINE に変えたところ徐々に利用者が増えてきて、今ではチームの標準ツールになりました。
といってもまだ使いこなしきった!というレベルではないのですが、チケットを使ってプロジェクトを進めるという仕事術は広まってきています。
今後はテストツールなどとも連携して、より目に見えやすい管理方法、自然とログが残る管理方法を目指していくつもりです。
それとは別に、今まで社内ブログとかウィキとかバージョン管理とかバグトラッキングとかいろいろ試していて思うのが、新しいことをやってみるのは大切だけれど、それ以上に過去の積み重ねを再利用できる形で残していくことも同じぐらい大切だということです。
新しいことを始める時、現状が駄目だから新しいことをしようという理由付けになることがあるのですが、それをしてしまうと今までの積み重ねが意味のないものになってしまい、情報の蓄積と再利用のさまたげになることがあるように思うので、そういうことのないよう気をつけて運用していきたいと思います。
dreamhost に redmine をインストール
- 2009/02/11
- Web開発関連
dreamhost に redmine をインストールした。参考にしたのは Redmine - DreamHost 。
ほんとにこの通りにやったら動いた。ただ英語がちゃんと読めてなくてけっこうはまったのでつまづいた箇所をメモしておく。
- 0. 基本は下の英語をよく読んで作業を進める
- 1.2. 「Specify your web directory:」というドキュメントルートの設定項目が dreamhost のドメイン設定画面にあるので、そのドキュメントルートを「yoursubdomain.yourdomain.com」から「yoursubdomain.yourdomain.com/public」に変更する。
- 12. .htaccess をこの 6 行で置き換えます。
- 99. config/environment.rb の line:8「RAILS_GEM_VERSION」を 2.2.2 に変更します。これをしないとバージョンが一致しないエラーが発生しました。
1. From the Dreamhost control panel, create a new subdomain for the application such as yoursubdomain.yourdomain.com
1. Make sure the domain supports “Ruby on Rails Passenger (mod_rails)?”
2. Specify your web directory: /home/username/yoursubdomain.yourdomain.com/public
* you must add the public!!!
2. From the Dreamhost control panel create a new MySQL database named yourdatabasename
3. ssh into your Dreamhost account
4. cd ~/yoursubdomain.yourdomain.com
5. svn export --force svn://rubyforge.org/var/svn/redmine/branches/0.7-stable ./
* check http://www.redmine.org/wiki/redmine/Download for the latest version
6. also watch out for permissions
* chmod -v -R 755 ./*
7. cd ~/yoursubdomain.yourdomain.com/config
8. cp database.yml.example database.yml
9. nano database.yml
1. edit the database.yml config file with the appropriate info. Should be similar to the following
production:
adapter: mysql
database: yourdatabasename
username: yourusername
password: yourpassword
host: mysql.yourdomain.com
10. cd ~/yoursubdomain.yourdomain.com/public
11. cp dispatch.rb.example dispatch.rb
12. nano .htaccess (replace with following text)
Options +FollowSymLinks +ExecCGI
RewriteEngine On
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
ErrorDocument 500 "H2Application errorH2 Rails application failed to start properly"
* replace the H2 with the proper HTML tag when you place it in the .htaccess
13. cd ~/yoursubdomain.yourdomain.com
14. from application root type
* rake db:migrate RAILS_ENV="production"
15. also type the following to load config defaults
* rake redmine:load_default_data RAILS_ENV="production"
* choose "en" for english
16. browse to http://yoursubdomain.yourdomain.com
1. Make sure the domain supports “Ruby on Rails Passenger (mod_rails)?”
2. Specify your web directory: /home/username/yoursubdomain.yourdomain.com/public
* you must add the public!!!
2. From the Dreamhost control panel create a new MySQL database named yourdatabasename
3. ssh into your Dreamhost account
4. cd ~/yoursubdomain.yourdomain.com
5. svn export --force svn://rubyforge.org/var/svn/redmine/branches/0.7-stable ./
* check http://www.redmine.org/wiki/redmine/Download for the latest version
6. also watch out for permissions
* chmod -v -R 755 ./*
7. cd ~/yoursubdomain.yourdomain.com/config
8. cp database.yml.example database.yml
9. nano database.yml
1. edit the database.yml config file with the appropriate info. Should be similar to the following
production:
adapter: mysql
database: yourdatabasename
username: yourusername
password: yourpassword
host: mysql.yourdomain.com
10. cd ~/yoursubdomain.yourdomain.com/public
11. cp dispatch.rb.example dispatch.rb
12. nano .htaccess (replace with following text)
Options +FollowSymLinks +ExecCGI
RewriteEngine On
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
ErrorDocument 500 "H2Application errorH2 Rails application failed to start properly"
* replace the H2 with the proper HTML tag when you place it in the .htaccess
13. cd ~/yoursubdomain.yourdomain.com
14. from application root type
* rake db:migrate RAILS_ENV="production"
15. also type the following to load config defaults
* rake redmine:load_default_data RAILS_ENV="production"
* choose "en" for english
16. browse to http://yoursubdomain.yourdomain.com
ホーム > タグ > redmine
