Show More
@@ -19,6 +19,17 b' our company regular hgwebdir.' | |||
|
19 | 19 | |
|
20 | 20 | |
|
21 | 21 | == INSTALATION |
|
22 | run dbmanage.py from pylons_app/lib it should create all needed table and | |
|
23 | an admin account, Edit file repositories.config and change the path for you | |
|
24 | mercurial repositories, remember about permissions. No newline at end of file | |
|
22 | - create new virtualenv, | |
|
23 | - run python setup.py install | |
|
24 | - goto build/ directory | |
|
25 | - goto pylons_app/lib and run python db_manage.py it should create all | |
|
26 | needed tables and an admin account. | |
|
27 | - Edit file repositories.config and change the [paths] where you keep your | |
|
28 | mercurial repositories, remember about permissions for accessing this dir by | |
|
29 | hg app. | |
|
30 | - run paster serve production.ini | |
|
31 | the app should be available at the 127.0.0.1:8001, the static files should be | |
|
32 | missing since in production.ini sets static_files = false change it to true | |
|
33 | for serving static files in hg app, but i highly recommend to serve | |
|
34 | statics by proxy (nginx or similar). | |
|
35 | - use admin account you created to login. No newline at end of file |
@@ -2,15 +2,13 b'' | |||
|
2 | 2 | #to do push with autoupdate |
|
3 | 3 | changegroup = hg update >&2 |
|
4 | 4 | |
|
5 | [extensions] | |
|
6 | hgext.highlight= | |
|
7 | #hgk= | |
|
8 | ||
|
9 | 5 | [web] |
|
6 | #for http requests push ssl to false | |
|
10 | 7 | push_ssl = false |
|
11 | 8 | allow_archive = gz zip bz2 |
|
12 | 9 | allow_push = * |
|
13 | 10 | baseurl = / |
|
14 | 11 | |
|
15 | 12 | [paths] |
|
16 | / = /home/marcink/python_workspace/** | |
|
13 | #this path should point to mercurial repositories remeber about '*' at the end | |
|
14 | / = /home/marcink/python_workspace/* |
@@ -11,13 +11,13 b' setup(' | |||
|
11 | 11 | version=get_version(), |
|
12 | 12 | description='', |
|
13 | 13 | author='marcin kuzminski', |
|
14 |
author_email='marcin@python- |
|
|
14 | author_email='marcin@python-works.com', | |
|
15 | 15 | url='', |
|
16 | 16 | install_requires=[ |
|
17 | 17 | "Pylons>=1.0.0", |
|
18 | 18 | "SQLAlchemy>=0.6", |
|
19 | 19 | "Mako>=0.3.2", |
|
20 |
"vcs>=0.1. |
|
|
20 | "vcs>=0.1.2", | |
|
21 | 21 | "pygments>=1.3.0" |
|
22 | 22 | ], |
|
23 | 23 | setup_requires=["PasteScript>=1.6.3"], |
General Comments 0
You need to be logged in to leave comments.
Login now