Rev | Line | |
---|
[10765] | 1 | In this directory you can find templates which are used by |
---|
| 2 | ``zc.buildout`` to create the configuration files in the parts/etc/ subdir |
---|
| 3 | of your project. |
---|
| 4 | |
---|
| 5 | If you modify files in this directory, you have to run:: |
---|
| 6 | |
---|
| 7 | $ bin/buildout |
---|
| 8 | |
---|
| 9 | afterwards to rebuild the configuration files in parts/etc/. |
---|
| 10 | |
---|
| 11 | In the templates you can use placesholders recognized by zc.buildout |
---|
| 12 | to name local paths, etc. A zc.buildout placeholder looks like this:: |
---|
| 13 | |
---|
| 14 | ${buildout:directory} |
---|
| 15 | |
---|
| 16 | which gives you the path of the project directory and will be |
---|
| 17 | substituted with the real path when you run buildout the next |
---|
| 18 | time. The set of available placeholders depends on your |
---|
| 19 | buildout.cfg. |
---|
| 20 | |
---|
| 21 | You can also modify files in parts/etc directly, but those changes |
---|
| 22 | will be overwritten after running bin/buildout the next time. |
---|
| 23 | |
---|
| 24 | To run your project you can do:: |
---|
| 25 | |
---|
| 26 | $ bin/paster serve parts/etc/deploy.ini |
---|
Note: See
TracBrowser for help on using the repository browser.