Show More
@@ -1,7 +1,11 b'' | |||||
1 | Pylons based replacement for hgwebdir. Fully customizable, |
|
1 | ------------ | |
2 | with authentication, permissions. Based on vcs library. |
|
2 | Pylons based replacement for hgwebdir | |
|
3 | ------------ | |||
|
4 | ||||
|
5 | Fully customizable, with authentication, permissions. Based on vcs library. | |||
|
6 | **Owerview** | |||
3 | - has it's own middleware to handle mercurial protocol request each request can |
|
7 | - has it's own middleware to handle mercurial protocol request each request can | |
4 | be logged and authenticated +threaded performance unlikely to hgweb |
|
8 | be logged and authenticated + threaded performance unlikely to hgweb | |
5 | - mako templates let's you cusmotize look and feel of appplication. |
|
9 | - mako templates let's you cusmotize look and feel of appplication. | |
6 | - diffs annotations and source code all colored by pygments. |
|
10 | - diffs annotations and source code all colored by pygments. | |
7 | - admin interface for performing user/permission managments as well as repository |
|
11 | - admin interface for performing user/permission managments as well as repository | |
@@ -12,24 +16,27 b' with authentication, permissions. Based ' | |||||
12 | - future support for git |
|
16 | - future support for git | |
13 | - based on pylons 1.0 / sqlalchemy 0.6 |
|
17 | - based on pylons 1.0 / sqlalchemy 0.6 | |
14 |
|
18 | |||
15 | === |
|
19 | ||
16 | This software is still in beta mode. I don't guarantee that it'll work. |
|
20 | **Incoming** | |
17 | I started this project since i was tired of sad looks, and zero controll over |
|
21 | - full permissions per project | |
18 | our company regular hgwebdir. |
|
22 | - setup project descriptions and info into db | |
|
23 | - git support (when vcs can handle it) | |||
19 |
|
24 | |||
|
25 | .. note:: | |||
|
26 | This software is still in beta mode. I don't guarantee that it'll work. | |||
|
27 | ||||
20 |
|
28 | |||
21 | == INSTALATION |
|
29 | ------------- | |
22 | - create new virtualenv, |
|
30 | Installation | |
23 | - run python setup.py install |
|
31 | ------------- | |
|
32 | - create new virtualenv and activate it | |||
|
33 | - download hg app and run python setup.py install | |||
24 | - goto build/ directory |
|
34 | - goto build/ directory | |
25 | - goto pylons_app/lib and run python db_manage.py it should create all |
|
35 | - goto pylons_app/lib and run python db_manage.py it should create all | |
26 | needed tables and an admin account. |
|
36 | needed tables and an admin account. | |
27 |
- |
|
37 | - edit file repositories.config and change the [paths] where you keep your | |
28 | mercurial repositories, remember about permissions for accessing this dir by |
|
38 | mercurial repositories, remember about permissions for accessing this dir by | |
29 | hg app. |
|
39 | hg app. | |
30 |
- run paster serve |
|
40 | - run paster serve development.ini | |
31 |
the app should be available at the 127.0.0.1: |
|
41 | the app should be available at the 127.0.0.1:5000 | |
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 |
|
42 | - use admin account you created to login. |
@@ -35,7 +35,7 b' port = 5000' | |||||
35 | [app:main] |
|
35 | [app:main] | |
36 | use = egg:pylons_app |
|
36 | use = egg:pylons_app | |
37 | full_stack = true |
|
37 | full_stack = true | |
38 |
static_files = |
|
38 | static_files = true | |
39 | lang=en |
|
39 | lang=en | |
40 | cache_dir = %(here)s/data |
|
40 | cache_dir = %(here)s/data | |
41 | ##a name for our application |
|
41 | ##a name for our application |
General Comments 0
You need to be logged in to leave comments.
Login now