Changes between Version 32 and Version 33 of 1.1/TracInstall
- Timestamp:
- Mar 23, 2015, 1:56:04 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
1.1/TracInstall
v32 v33 207 207 == Creating a Project Environment 208 208 209 A [TracEnvironment Trac environment] is the backend where Trac stores information like wiki pages, tickets, reports, settings, etc. An environment is basicallya directory that contains a human-readable [TracIni configuration file], and other files and directories.209 A [TracEnvironment Trac environment] is the backend where Trac stores information like wiki pages, tickets, reports, settings, etc. An environment is a directory that contains a human-readable [TracIni configuration file], and other files and directories. 210 210 211 211 A new environment is created using [TracAdmin trac-admin]: … … 214 214 }}} 215 215 216 [TracAdmin trac-admin] will prompt you for the information it needs to create the environment , such as the name of the project and the [TracEnvironment#DatabaseConnectionStrings database connection string]. If you're not sure what to specify for oneof these options, just press `<Enter>` to use the default value.216 [TracAdmin trac-admin] will prompt you for the information it needs to create the environment: the name of the project and the [TracEnvironment#DatabaseConnectionStrings database connection string]. If you're not sure what to specify for any of these options, just press `<Enter>` to use the default value. 217 217 218 218 Using the default database connection string will always work as long as you have SQLite installed. For the other [trac:DatabaseBackend database backends] you should plan ahead and already have a database ready to use at this point. … … 226 226 Finally, make sure the user account under which the web front-end runs will have '''write permissions''' to the environment directory and all the files inside. This will be the case if you run `trac-admin ... initenv` as this user. If not, you should set the correct user afterwards. For example on Linux, with the web server running as user `apache` and group `apache`, enter: 227 227 {{{#!sh 228 $ chown -R apache .apache /path/to/myproject228 $ chown -R apache:apache /path/to/myproject 229 229 }}} 230 230