I’ve tried installation on the other folder. It’s almost perfect except Python.
So, if you want to install to your own TOW folder, follow below. (ex. %TOW_HOME% is D:\Apps\TOW)
- Unzip TOW-*.zip to D:\Apps.
- Open %TOW_HOME%\set-tow.bat file and replace strings like below.
set TOW_HOME=D:\Apps\TOW
- Open %TOW_HOME%\Apache\conf\httpd.conf file and replace strings like below.
C:/TOW -> D:/Apps/TOW
- Open all %TOW_HOME%\SetupTracRepo\Projects\HelloTOW\conf\*.tpl files and replace strings.
C:\TOW -> D:\Apps\TOW
C:\\TOW -> D:\\Apps\\TOW - Open %TOW_HOME%\create-svn-repo.bat file and replace.
C:/TOW -> D:/Apps/TOW
- Copy %TOW_HOME%\Python folder to C:\TOW\Python
- Run %TOW_HOME%\start-tow.bat
If you have already installed on C:\TOW and want to move D:\Apps\TOW, you need something to do it working.
- Open %TOW_HOME%\TracRepo\Projects\%PROJECT_NAME%\trac.ini file and replaces strings like below.
C:\TOW -> D:\Apps\TOW
C:\\TOW -> D:\\Apps\\TOW - Resync Trac repository.D:\Apps\TOW>trac-admin.bat %PROJECT_NAME% resync
- That’s it.
I hope it helps you.
P.S. Anyone have an idea to move Python to the other folder?
http://qaos.com/article.php?sid=1053
cmd> mountvol
\\?\Volume{dbdada63-7d8c-11dc-9990-806d6172696f}\
C:\
\\?\Volume{63813d42-7d42-11dc-92ca-806d6172696f}\
D:\
cmd> mountvol c:\TOW {63813d42-7d42-11dc-92ca-806d6172696f}
이렇게 해주면 c:\TOW 폴더가 D드라이브로 통채로 마운트 됩니다
Comment by blushine — April 30, 2008 @ 8:42 am
for moving Python to the other folder(for me it`s :\\Server\\tracOnWindows_TOW030a1\\Python),
you can do as following:
PortablePython.reg
———————
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Python]
[HKEY_CURRENT_USER\Software\Python\PythonCore]
[HKEY_CURRENT_USER\Software\Python\PythonCore\2.5]
[HKEY_CURRENT_USER\Software\Python\PythonCore\2.5\InstallPath]
@=”X:\\Server\\tracOnWindows_TOW030a1\\Python”
[HKEY_CURRENT_USER\Software\Python\PythonCore\2.5\InstallPath\InstallGroup]
@=”Python 2.5″
[HKEY_CURRENT_USER\Software\Python\PythonCore\2.5\Modules]
[HKEY_CURRENT_USER\Software\Python\PythonCore\2.5\PythonPath]
@=”X:\\Server\\tracOnWindows_TOW030a1\\Python\\Lib;X:\\Server\\tracOnWindows_TOW030a1\\Python\\DLLs;X:\\Server\\tracOnWindows_TOW030a1\\Python\\Lib\\lib-tk”
———————
PortablePythonHome.reg
———————
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment]
“PYTHONHOME”=”X:\\Server\\tracOnWindows_TOW030a1\\Python”
———————
then ,import that 2 reg files to your windows system,I tried and it works very well…
your tracOnWindows is great ,but no php,no phpmyadmin ,no mysql,no any modules ,so now i use WampServer2 from http://www.wampserver.com
it will be great if thereis a portable wampserver2 for trac version…:))
Comment by yanni — December 16, 2008 @ 7:26 am
Thank you for giving a great information, yanni.
Next time, I will try a portable wampserver 2 for trac.
Comment by yeoupooh — December 16, 2008 @ 7:46 am
i have made wampserver2 and xampp with trac ,but not portable yet,cos i must add some Subversion/bin and python directorys to the SYSTEM PATH and reboot …
)
Comment by yanni — December 18, 2008 @ 7:33 am
yanni,
I am afraid that the portable Trac(or TOW) settings will be changed whenever hard drive name is changed.
Anyway keep on with good work.
Comment by yeoupooh — December 22, 2008 @ 6:42 am