Creating a Trac Project Environment: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
==Overview== | ==Overview== | ||
How to set up a new [http://trac.edgewall.org/ Trac] project environment on Windows using a [http://www.sqlite.org/ SQLite] database. | How to set up a new [http://trac.edgewall.org/ Trac] project environment on Windows using a [http://www.sqlite.org/ SQLite] database. | ||
==Prerequisites== | |||
See [[Trac Installation on Windows Server 2008]] | |||
==Creating a project environment== | ==Creating a project environment== | ||
Revision as of 01:46, 4 December 2012
Overview
How to set up a new Trac project environment on Windows using a SQLite database.
Prerequisites
See Trac Installation on Windows Server 2008
Creating a project environment
trac-admin /path/to/tracdir initenv
Then trac will prompt for settings:
- Project name: littledamien
- Database connection string: sqlite:db/trac-littledamien.db
The configuration file for the new project environment is located at [TRAC_PROJECT_DIR]\conf\trac.ini.
Start the server with
tracd --port 8000 /path/to/tracdir
Then you can connect to the trac project with http://localhost:8000/trac/.
Database
- Create a new SQLite database.
sqlite3 /develop/trac-projectname.db