[Ilugc] REG: track wiki - Trac admin unable to create env variables

  • From: joe_steeve@xxxxxxx (Joe Steeve)
  • Date: Thu Sep 7 12:44:33 2006

Thyagu rajan wrote:

root@ubuntu:/var/www# trac-admin /home/thyagarajan/trac-0.10b1
initenv Initenv for '/home/thyagarajan/trac-0.10b1' failed. Directory
exists and is not empty.

Looks like you got confused with 'trac environment'

After 'trac' is installed., you can create multiple instances of 'trac'
for your different projects (collections). So., the 'trac environment'
is one such instance. So., for a project 'foo'., i'd probably create a
'trac environment' as.,

$trac-admin /home/joe/projects/foo initenv

Now., the folder 'foo' should not exist. The 'trac-admin' utility will
create the folder and put the respective files for serving the wiki,
ticket-tracker, etc.., into the /home/joe/projects/foo folder. You can
serve this folder over HTTP using apache or the inbuilt HTTP server that
comes with trac.

Trac will refuse to create an environment in an existing directory to
avoid accidental over-writing of project information.

-- 
.o. A proud GNU user
..o
ooo [W] http://www.joesteeve.org/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : 
http://www.ae.iitm.ac.in/pipermail/ilugc/attachments/20060907/fc335ca4/signature.bin

Other related posts: