Changes between Version 433 and Version 434 of TracInstall
- Timestamp:
- Jun 11, 2017, 3:25:47 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracInstall
v433 v434 216 216 }}} 217 217 218 [TracAdmin trac-admin] will prompt you for the information it needsto 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.218 You will be prompted for the information needed 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. 219 219 220 220 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. … … 283 283 In order for Trac to function properly with FastCGI you need to have a `trac.fcgi` file and for mod_wsgi a `trac.wsgi` file. These are Python scripts which load the appropriate Python code. They can be generated using the `deploy` option of [TracAdmin trac-admin]. 284 284 285 There is, however, a bit of a chicken-and-egg problem. The [TracAdmin trac-admin]command requires an existing environment to function, but complains if the deploy directory already exists. This is a problem, because environments are often stored in a subdirectory of the deploy. The solution is to do something like this:285 There is, however, a bit of a chicken-and-egg problem. The `trac-admin` command requires an existing environment to function, but complains if the deploy directory already exists. This is a problem, because environments are often stored in a subdirectory of the deploy. The solution is to do something like this: 286 286 {{{#!sh 287 287 $ mkdir -p /usr/share/trac/projects/my-project