可以参考的说明,
我的创建过程:
『只要输入创建命令,名称,链接字符串(可以直接回车)』
- wang@wang-Lenovo-B460:~/Documents/trac$ trac-admin ~/Documents/trac/first-trac/ initenv
-
在/home/wang/Documents/trac/first-trac处创建一个新的Trac环境
-
-
Trac先要询问一些和环境相关的问题,以初始化和准备项目数据库。
-
-
请输入您项目的名称。
-
此名称将在页面标题和描述中使用。
-
-
first-trac
-
-
请指定所用数据库的连接字符串。缺省情况下,
-
将在环境目录中创建一个本地SQLite数据库。
-
也可以使用一个已存在的PostgreSQL数据库
-
(具体的连接字符串语法请查看Trac文档)。
-
-
数据库连接字符串 [sqlite:db/trac.db]>
-
-
创建和初始化项目
-
安装缺省Wiki页
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TracBrowser中导入了TracBrowser
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/RecentChanges中导入了RecentChanges
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TracModPython中导入了TracModPython
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TracRss中导入了TracRss
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TracSyntaxColoring中导入了TracSyntaxColoring
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/WikiNewPage中导入了WikiNewPage
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TracNavigation中导入了TracNavigation
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/CamelCase中导入了CamelCase
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/WikiFormatting中导入了WikiFormatting
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TracIni中导入了TracIni
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TracFineGrainedPermissions中导入了TracFineGrainedPermissions
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TracInstall中导入了TracInstall
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/WikiProcessors中导入了WikiProcessors
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TracWorkflow中导入了TracWorkflow
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TracUpgrade中导入了TracUpgrade
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TracBackup中导入了TracBackup
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/InterMapTxt中导入了InterMapTxt
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TracPermissions中导入了TracPermissions
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TracStandalone中导入了TracStandalone
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TracLinks中导入了TracLinks
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/WikiPageNames中导入了WikiPageNames
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TitleIndex中导入了TitleIndex
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TracAccessibility中导入了TracAccessibility
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TracInterfaceCustomization中导入了TracInterfaceCustomization
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/InterTrac中导入了InterTrac
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/WikiHtml中导入了WikiHtml
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/WikiMacros中导入了WikiMacros
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TracUnicode中导入了TracUnicode
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TracChangeset中导入了TracChangeset
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/WikiDeletePage中导入了WikiDeletePage
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TracSupport中导入了TracSupport
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TracGuide中导入了TracGuide
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/InterWiki中导入了InterWiki
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TracFastCgi中导入了TracFastCgi
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TracAdmin中导入了TracAdmin
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TracImport中导入了TracImport
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TracWiki中导入了TracWiki
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TracPlugins中导入了TracPlugins
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TracRoadmap中导入了TracRoadmap
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TracRevisionLog中导入了TracRevisionLog
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TracEnvironment中导入了TracEnvironment
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/WikiRestructuredTextLinks中导入了WikiRestructuredTextLinks
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/WikiRestructuredText中导入了WikiRestructuredText
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TracRepositoryAdmin中导入了TracRepositoryAdmin
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TracSearch中导入了TracSearch
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TracLogging中导入了TracLogging
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TracTicketsCustomFields中导入了TracTicketsCustomFields
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/PageTemplates中导入了PageTemplates
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TracNotification中导入了TracNotification
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TracQuery中导入了TracQuery
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TracTickets中导入了TracTickets
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TracCgi中导入了TracCgi
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TracModWSGI中导入了TracModWSGI
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TracTimeline中导入了TracTimeline
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/SandBox中导入了SandBox
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/TracReports中导入了TracReports
-
从/home/wang/.python-eggs/Trac-0.13dev_r10602-py2.6.egg-tmp/trac/wiki/default-pages/WikiStart中导入了WikiStart
-
-
---------------------------------------------------------------------
-
'first-trac' 的项目环境已经建立。
-
-
您现在可以通过编辑以下文件来配置环境:
-
-
/home/wang/Documents/trac/first-trac/conf/trac.ini
-
-
如果您想试用一下这个新的项目环境,请尝试运行Trac独立Web服务器 `tracd`:
-
-
tracd --port 8000 /home/wang/Documents/trac/first-trac
-
-
然后使用您的浏览器访问。
-
在那里,您可以浏览已安装Trac版本的文档,包括进行进一步配置的信息
-
(比如将Trac部署到真正的Web服务器上)。
-
-
最新的文档也可以在项目网站上找到:
-
-
-
-
恭喜您!
这样就创建好了,
下面看下目录:
- wang@wang-Lenovo-B460:~$ ls Documents/trac/first-trac/
-
attachments conf db htdocs log plugins README templates VERSION
ok!!!
阅读(1455) | 评论(0) | 转发(0) |