How can I create new project in Trac?

有些话、适合烂在心里 提交于 2019-12-06 02:18:09

Bitnami installer asks for creating a project because it means to create a new Trac instance with its database (.db file). The terms are a bit misleading here.

The question is, if you want to create another separate Trac database, it's own Trac world of itself so to speak. In that case you must use the approach of Phil's answer and use trac-admin.exe initenv on command-line. The new Trac instance must be added as new <Location> in Apache's httpd.conf then.

If you just want to have a second user-project in your Trac instance, you should solve it on the level of Trac plugins, and install for instance SimpleMultiProjectPlugin where you can create multiple user-projects for your single Trac site.

Phil

You can create a new project "environment" with the following command:

$ trac-admin /path/to/myproject initenv

(Needless to say, you'll need admin rights and open a terminal window on your Trac server to do this.) It's described at http://trac.edgewall.org/wiki/TracInstall#CreatingaProjectEnvironment.

Managing users is described here, https://superuser.com/questions/266309/managing-trac-users.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!