VISUALSVN SERVER // Installing Trac with VisualSVN Server
Note Currently we do not technically support Trac plug-in for VisualSVN Server. Please note that Trac plugin for VisualSVN Server was never released officially and you can use it on your own risk. We do not plan to update the plug-in on a regular basis.
- Download VisualSVN Server 2.5.2 or later.
- Install it using default settings.
- Create repository "MyProject" in VisualSVN Server Manager.
- Create at least one user if you use Subversion authentication.
- Download VisualSVN-Server-2.5.2.27089-Trac-0.12.2.zip (~16MB).
- Unzip it to %VISUALSVN_SERVER% folder
- Create folder C:\Trac
- Allow "Full Control" access to C:\Trac folder for built-in Network Service account (or other account that is used to run VisualSVN Server's service).
- Execute command: "%VISUALSVN_SERVER%trac\trac-admin.bat" C:\Trac\MyProject initenvUse default settings. Provide C:\Repositories\MyProject as repository path.
- Execute the following command to add MyProject Subversion repository to the Trac: "%VISUALSVN_SERVER%trac\trac-admin.bat" c:\Trac\MyProject repository add MyProject C:\Repositories\MyProject svn
- Add the following command to the MyProject repository post-commit hook: @"%VISUALSVN_SERVER%trac\trac-admin.bat" C:\Trac\MyProject changeset added "%1" "%2"
- Add the following command to the MyProject repository post-revision property change hook: @"%VISUALSVN_SERVER%trac\trac-admin.bat" C:\Trac\MyProject changeset modified "%1" "%2"
- Add system variable: PYTHONHOME=C:\Program Files (x86)\VisualSVN Server\trac\pythonThe path may be different depending on where VisualSVN Server is installed. Please check the %VISUALSVN_SERVER% environment variable for a hint.
- Add the following text to file %VISUALSVN_SERVER%conf\httpd-custom.conf if you use Subversion authentication:
LoadModule python_module "trac/python/mod_python_so.pyd"LoadModule authz_user_module bin/mod_authz_user.so<Location /trac> SetHandler mod_python PythonInterpreter main_interpreter PythonHandler trac.web.modpython_frontend PythonOption TracEnvParentDir C:\Trac PythonOption TracUriRoot /trac AuthName "Trac" AuthType Basic AuthBasicProvider file AuthUserFile "C:/Repositories/htpasswd" Require valid-user</Location>
or this text if you use Windows authentication:LoadModule python_module "trac/python/mod_python_so.pyd"LoadModule authz_user_module bin/mod_authz_user.so<Location /trac> SetHandler mod_python PythonInterpreter main_interpreter PythonHandler trac.web.modpython_frontend PythonOption TracEnvParentDir C:\Trac PythonOption TracUriRoot /trac AuthName "Trac" AuthType VisualSVN # Set the option's value to on if Windows Basic Authentication # is enabled, otherwise set it to off. AuthnVisualSVNBasic on # Set the option's value to on if Windows Integrated Authentication # (available in the Enterprise Edition) is enabled, otherwise set it to off. AuthnVisualSVNIntegrated on Require valid-user</Location>
- Stop and then Start VisualSVN Server.
- Open http://localhost/trac/ or https://localhost/trac/ (if you setup secure connections) in a browser and enter user name and password.
'Computer Science' 카테고리의 다른 글
위키피디아 : 프로젝트 관리 (0) | 2012.01.15 |
---|---|
How to run HelloWorld and tests of cocos2d-x on bada (0) | 2012.01.05 |
자바 SSL 사용법 (0) | 2011.12.30 |
Apache HttpClient로 https 연결 데이터 받기 (0) | 2011.12.30 |
[알아봅시다] 망중립성 가이드라인 (0) | 2011.12.25 |