|
Revision 52, 1.3 KB
(checked in by jiangx, 4 years ago)
|
|
(r96) add pylons to prerequisite.
|
-
Property svn:mime-type set to
text/plain
-
Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 | This file is for you to describe the pysvnmanager application. Typically |
|---|
| 2 | you would include information such as the information below: |
|---|
| 3 | |
|---|
| 4 | Prerequisite |
|---|
| 5 | ============ |
|---|
| 6 | |
|---|
| 7 | You need the following packages. Only part of them (docutils) |
|---|
| 8 | will be installed automatically during easy_install. |
|---|
| 9 | |
|---|
| 10 | - pylons: |
|---|
| 11 | A must have package. |
|---|
| 12 | |
|---|
| 13 | - rcs: |
|---|
| 14 | We use ci/co for backup/restore SVN authz files. |
|---|
| 15 | |
|---|
| 16 | - python docutils: |
|---|
| 17 | We docutils to transform reST text to html. |
|---|
| 18 | |
|---|
| 19 | - python-ldap: |
|---|
| 20 | If pySvnManager is auth agains ldap, you need it. |
|---|
| 21 | |
|---|
| 22 | - easy_install: |
|---|
| 23 | Optional. Useful tools to manage python egg packages. |
|---|
| 24 | |
|---|
| 25 | Installation and Setup |
|---|
| 26 | ====================== |
|---|
| 27 | |
|---|
| 28 | Install ``pysvnmanager`` using easy_install:: |
|---|
| 29 | |
|---|
| 30 | easy_install pySvnManager |
|---|
| 31 | |
|---|
| 32 | Make a config file as follows:: |
|---|
| 33 | |
|---|
| 34 | paster make-config pySvnManager config.ini |
|---|
| 35 | |
|---|
| 36 | Tweak the config file as appropriate and then setup the application:: |
|---|
| 37 | |
|---|
| 38 | paster setup-app config.ini |
|---|
| 39 | |
|---|
| 40 | Then you are ready to go. |
|---|
| 41 | |
|---|
| 42 | paster serve --reload config.ini |
|---|
| 43 | |
|---|
| 44 | Installation from Source code |
|---|
| 45 | ============================= |
|---|
| 46 | |
|---|
| 47 | Check source code from sourceforge.net:: |
|---|
| 48 | |
|---|
| 49 | svn co https://sourceforge.net/projects/pysvnmanager/trunk pysvnmanager |
|---|
| 50 | |
|---|
| 51 | Make a config file as follows:: |
|---|
| 52 | |
|---|
| 53 | cd pysvnmanager/config |
|---|
| 54 | make |
|---|
| 55 | |
|---|
| 56 | Compile l18n messages:: |
|---|
| 57 | |
|---|
| 58 | cd pysvnmanager |
|---|
| 59 | python setup.py compile_catalog |
|---|
| 60 | |
|---|
| 61 | Start web service:: |
|---|
| 62 | |
|---|
| 63 | paster serve --reload develogment.ini |
|---|
| 64 | |
|---|
| 65 | |
|---|