Bogdan Stanciu wrote: > Any suggestion on how to set it up (I use eclipse with > pydev) in a efficient way will be more that welcome:-)
Ok, here's the (very) short story, for Linux. Completely untested, of course, but you should get the idea. Create a checkout and set up the development environment: svn co http://svn.edgewall.org/repos/trac/trunk trac-trunk cd trac-trunk virtualenv venv . venv/bin/activate python setup.py develop Create an environment: trac-admin env initenv trac-admin env permission add bogdan TRAC_ADMIN python contrib/htdigest.py -c htdigest trac bogdan Run tracd in development mode on port 8000: tracd --http11 -p 8000 -a *,htdigest,trac env -r -s ... and hack away! tracd should auto-reload every time you save your changes (you may have to restart it from time to time, for example when you introduce a syntax error). Every time you open a new shell, you have to activate the virtualenv: cd trac-trunk . venv/bin/activate For more details, see: http://trac.edgewall.org/wiki/TracDev/DevelopmentEnvironmentSetup > oh, should I just use sudo trac-admin for the time being? or will I get > in other troubles? :-) I use that to sudo as the user running my web server. -- Remy
signature.asc
Description: OpenPGP digital signature