27 | | The conf/username_list.txt looks like: |
28 | | {{{ |
| 28 | 1. Uninstall TracAutoCompletePlugin if you have installed before. |
| 29 | |
| 30 | 2. Change to the directory containning setup.py. |
| 31 | |
| 32 | 3. If you want to install this plugin globally, that will install this plugin to the python path: |
| 33 | * python setup.py install |
| 34 | |
| 35 | 4. If you want to install this plugin to trac instance only: |
| 36 | * python setup.py bdist_egg |
| 37 | * copy the generated egg file to the trac instance's plugin directory |
| 38 | {{{ |
| 39 | cp dist/*.egg /srv/trac/env/plugins |
| 40 | }}} |
| 41 | |
| 42 | 5. Config trac.ini: |
| 43 | {{{ |
| 44 | [components] |
| 45 | autocomplete.* = enabled |
| 46 | }}} |
| 47 | |
| 48 | 6. Create and edit file /srv/trac/env/conf/username_list.txt. '''Please make sure this file encoded with UTF-8'''. |
| 49 | {{{ |