= Trac ¼³Ä¡ =
== Windows ¿¡ ¼³Ä¡Çϱâ ==
* [TracOnWindows]¿¡ ÀÖ½À´Ï´Ù. - °£´ÜÈ÷ ¾ÐÃุ Ç®¸é OK!
== Trac ¼³Ä¡ °¡À̵å (*nix¿ë) ==
* Trac ¼³Ä¡ ¿µ¹®¹öÀüÀº ÀÖÁö¸¸ óÀ½ ¼³Ä¡ÇϽ÷Á´Â ºÐÀº ¾î·Á¿ï ¼ö ÀÖ¾î Tutorial ½ÄÀ¸·Î ±¸¼ºÀ» Çغ¸¾Ò½À´Ï´Ù.
* ¾î¹ýÀº °æĪÀ» »ç¿ëÇÏÁö ¾Ê¾ÒÀ¸´Ï À¯ÀÇÇØ Áֽñ⠹ٶø´Ï´Ù.
* ¹®¼»óÀÇ À߸øµÈ Á¡ÀÌ ÀÖÀ¸½Ã¸é ¹Ù·Î ¼öÁ¤ÇØ ÁÖ¼¼¿ä. | ( godmode2k@hotmail.com )
* NOTE:
* subversion ¼³Á¤Àº [Subversion-HOWTO] ¹®¼¸¦ Âü°íÇØ Áֽñ⠹ٶø´Ï´Ù.
* Áú¹® ´äº¯Àº TracFAQ ¹®¼¸¦ Âü°íÇϽñ⠹ٶø´Ï´Ù.
* Trac À» Standalone À¸·Î ½ÇÇàÇÒ ¶§ login ºÎºÐÀÌ ºüÁ®ÀÖ½À´Ï´Ù. ¾Æ½Ã´ÂºÐÀº ²À ä¿öÁÖ¼¼¿ä...
=== Áغñ¹° ===
'''* Berkeley DB: 4.3.29'''
http://downloads.sleepycat.com/db-4.3.29.NC.tar.gz
'''* Subversion: 1.3.0'''
http://subversion.tigris.org/downloads/subversion-1.3.0.tar.bz2
'''* Python: 2.4.2'''
http://www.python.org/ftp/python/2.4.2/Python-2.4.2.tgz
'''* PySQlite: 2.2.0'''
http://initd.org/pub/software/pysqlite/releases/2.2/2.2.0/pysqlite-2.2.0.tar.gz
'''* SQLite: 3.3.4'''
http://www.sqlite.org/sqlite-3.3.4.tar.gz
'''* Trac: 0.9.4-ko'''
http://kldp.net/frs/download.php/3194/trac-0.9.4-ko.tar.gz
'''* ClearSilver: 0.9.14'''
http://www.clearsilver.net/downloads/clearsilver-0.9.14.tar.gz
'''* Subversion SWIG Python Bindings: SWIG 1.3.27, Subversion 1.3.0'''
http://ufpr.dl.sourceforge.net/sourceforge/swig/swig-1.3.27.tar.gz
'''* ÁÖÀÇ:'''
¸ÕÀú /tmp directory ¿¡ Python, PySQlite, SQLite, Trac, ClearSilver, Subversion, db-4.3.29.NC.tar.gz ÆÄÀÏÀ» extract ÇÑ´Ù.
=== ¼³Ä¡ ½ÃÀÛ ===
------------------------------------------------------------------------------------------
'''Berkeley DB:'''
------------------------------------------------------------------------------------------
{{{
tmp# cd db-4.3.29.NC/build_unix
build_unix# ../dist/configure
build_unix# make
build_unix# make install
build_unix# echo '/usr/local/BerkeleyDB.4.3/lib' >> /etc/ld.so.conf
build_unix# ldconfig
}}}
------------------------------------------------------------------------------------------
'''Python:'''
------------------------------------------------------------------------------------------
{{{
tmp# cd python-2.4.2
python-2.4.2# ./configure
python-2.4.2# make && make install
}}}
------------------------------------------------------------------------------------------
'''PySQLite:'''
------------------------------------------------------------------------------------------
{{{
tmp# cd pysqlite-2.2.0
pysqlite-2.2.0# python2.4 setup.py build
pysqlite-2.2.0# python2.4 setup.py install
}}}
------------------------------------------------------------------------------------------
'''SQlite:'''
------------------------------------------------------------------------------------------
{{{
tmp# mkdir sqlite_ ; cd sqlite_
sqlite_# ../sqlite-3.3.4/configure --disable-tcl
sqlite_# make && make install
}}}
------------------------------------------------------------------------------------------
'''ClearSilver:'''
------------------------------------------------------------------------------------------
{{{
tmp# cd clearsilver-0.9.14
clearsilver-0.9.14# vi rules.mk
PYTHON_SITE = /usr/local/lib/python2.4
clearsilver-0.9.14# ./configure && make && make install
}}}
------------------------------------------------------------------------------------------
'''Subversion SWIG Python Bindings:'''
------------------------------------------------------------------------------------------
* Python Binding
{{{
tmp# cd swig-1.3.27
swig-1.3.27# ./configure --with-python=/usr/local/bin/python2.4 && make && make install
tmp# cd subversion-1.3.0
subversion-1.3.0# mv configure configure.orig
}}}
* SWIG version º¯°æ:
subversion 1.3.0 Àº SWIG 1.3.25 ¸¦ »ç¿ëÇϱ⠶§¹®¿¡ ÇöÀç »ç¿ë°¡´ÉÇÑ SWIG(version 1.3.27) version À» ¼öÁ¤ÇØ ÁØ´Ù.[[HTML(
)]]
SWIG version ÀÌ 1.3.27 À̸é "103027"[[HTML(
)]]
{{{
subversion-1.3.0# sed -e 's/"103025"/"103027"/g' configure.orig > configure
subversion-1.3.0# ./configure --with-zlib --with-ssl --with-dbm=db4 --with-berkeley-db=/usr/local/BerkeleyDB.4.3
subversion-1.3.0# make && make install
subversion-1.3.0# make swig-py && make install-swig-py
subversion-1.3.0# echo /usr/local/lib/svn-python > /usr/local/lib/python2.4/site-packages/subversion.pth
}}}
------------------------------------------------------------------------------------------
'''Trac:'''
------------------------------------------------------------------------------------------
{{{
tmp# cd trac-0.9.4-ko
trac-0.9.4-ko# python2.4 setup.py install
trac-0.9.4-ko# trac-admin /home/trac initenv
Project Name [My Project]> My_Project
Database connection string [sqlite:db/trac.db]> 'just ENTER'
Repository type [svn]> 'just ENTER'
Path to repository [/path/to/repos]> /home/svn
Templates directory [/usr/local/share/trac/templates]> 'just ENTER'
...
Congratulations!
}}}
* trac ¼³Á¤ ¹× Standalone À¸·Î ½ÇÇà
{{{
trac-0.9.4-ko# vi /home/trac/conf/trac.ini
trac-0.9.4-ko# tracd --port 8000 /home/trac
}}}
* /home/svn ¿¡ svn repository ¸¸µé¾î ³õ°í trac.ini ¿¡ µî·ÏÇØ ÁØ´Ù.
* subversion repository ¸¸µå´Â ¹æ¹ýÀº [Subversion-HOWTO] ¹®¼¸¦ Âü°íÇØ ÁÖ¼¼¿ä.
{{{
http://localhost:8000/trac ¿¡¼ È®ÀÎÇÒ ¼ö ÀÖÀ½.
}}}
----
CategorySoftwareTool