28.3. Definiowanie projektu narzędzia Trac

W systemie Trac wszystkie zadania związane z administracją projektami są realizowane z poziomu wiersza poleceń, z wykorzystaniem narzędzia trac-admin. Każdy projekt Traca ma przypisany własny katalog. Utworzenie nowego projektu wymaga użycia polecenia initenv:

$ mkdir /data/trac
$ trac-admin /data/trac/myproject initenv
Creating a new Trac environment at /data/trac/myproject

Trac will first ask a few questions about your environment
in order to initalize and prepare the project database.

 Please enter the name of your project.
 This name will be used in page titles and descriptions.

Project Name [My Project]>
...

Warto pamiętać, że narzędzie trac-admin automatycznie tworzy katalog projektu (w tym przypadku ...

Get Java. Praktyczne narzędzia now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.