如何在 Trac 中创建新项目? [英] How can I create new project in Trac?

查看:32
本文介绍了如何在 Trac 中创建新项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经为 Windows 安装了 Bitnami Trac.(bitnami-trac-0.12.2-5-windows-installer)
在安装过程中,它要求我创建项目以及用户名和密码.
我成功创建了项目并为我设置了一个用户(管理员).
目前,只写了一个我在安装过程中创建的可用项目.
我是新手,这就是我向你询问的原因,

I have installed Bitnami Trac for windows. (bitnami-trac-0.12.2-5-windows-installer)
During installation, it asked me for creating project and username and password.
I successfully created project and set up a user for me(admin).
At the moment, there is written only one available project that I created during installation.
I am new to it, that is why I am asking it from you,

  1. 请帮助我如何创建新项目?
  2. 另外,我如何创建其他用户?

推荐答案

Bitnami 安装程序要求创建一个项目,因为这意味着使用其数据库(.db 文件)创建一个新的 Trac 实例.这里的条款有点误导.

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.

问题是,如果您想创建另一个单独的 Trac 数据库,可以这么说,它就是自己的 Trac 世界.在这种情况下,您必须使用 Phil 的答案的方法并在命令行上使用 trac-admin.exe initenv .新的 Trac 实例必须作为新的 添加到 Apache 的 httpd.conf 然后.

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.

如果你只想在你的 Trac 实例中有第二个用户项目,你应该在 Trac 插件的级别上解决它,并安装例如 SimpleMultiProjectPlugin 在那里你可以创建多个用户项目用于您的单个 Trac 站点.

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.

这篇关于如何在 Trac 中创建新项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆