*サービス登録 [#u0cf9142]
-http://www.bnote.net/windows/windows/redmine_service.shtml

 C:\mongrel>gem install mongrel --local
 Successfully installed gem_plugin-0.2.3
 Successfully installed cgi_multipart_eof_fix-2.5.0
 Successfully installed mongrel-1.1.5-x86-mingw32
 Successfully installed win32-service-0.5.2-x86-mswin32
 Successfully installed mongrel_service-0.3.4-x86-mswin32
 5 gems installed
 Installing ri documentation for gem_plugin-0.2.3...
 Installing ri documentation for cgi_multipart_eof_fix-2.5.0...
 Installing ri documentation for mongrel-1.1.5-x86-mingw32...
 Installing ri documentation for win32-service-0.5.2-x86-mswin32...
 Installing ri documentation for mongrel_service-0.3.4-x86-mswin32...
 Installing RDoc documentation for gem_plugin-0.2.3...
 Installing RDoc documentation for cgi_multipart_eof_fix-2.5.0...
 Installing RDoc documentation for mongrel-1.1.5-x86-mingw32...
 Installing RDoc documentation for win32-service-0.5.2-x86-mswin32...
 Installing RDoc documentation for mongrel_service-0.3.4-x86-mswin32...

 gem install mongrel
 gem install win32-service -v 0.5.2
 gem install mongrel_service -r

 C:\>mongrel_rails service::install -N "Redmine" -c c:\redmine -p 3000 -e production
 
 ** Copying native mongrel_service executable...
 Mongrel service 'Redmine' installed as 'Redmine'.

 c:\> sc config Redmine start= auto depend= MySql

*サービス起動 [#gebbb51d]
Windowsのサービス設定で「Redmine」を開始。
*バーチャルホストの設定 [#g48808ec]
-http://d.hatena.ne.jp/weathercook/20100821/1282412492

C:\xampp\apache\conf\extra\httpd-vhosts.conf
 NameVirtualHost *:80

 <VirtualHost *:80 >
     DocumentRoot "C:\xampp\htdocs"
     ServerName localhost
     ErrorLog logs/redmine.dev-error.log
     CustomLog logs/redmine.dev-access.log combined
     ProxyPass /redmine/ http://localhost:3000/
     ProxyPassReverse /redmine/ http://localhost:3000/
 </VirtualHost>
C:\xampp\apache\conf\httpd.conf
 LoadModule proxy_module modules/mod_proxy.so
 LoadModule proxy_http_module modules/mod_proxy_http.so

*Redmineのルート修正 [#p96ac17d]
-http://d.hatena.ne.jp/hokorobi/20100206/1265469336
 config/routes.rb
 ActionController::Base.relative_url_root = "/redmine"

*Redmineへのアクセス [#n3f45520]
http://localhost/redmine/
----

&size(12){Total:&counter(total); / Today:&counter(today); / Yesterday:&counter(yesterday);};

トップ   差分 バックアップ リロード   一覧 検索 最終更新   ヘルプ   最終更新のRSS