Mercurial > public > src > rhodecode
changeset 342:d8d471cfa093
Updated readme
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 30 Jun 2010 22:47:19 +0200 |
parents | 9c390ca19deb |
children | 3f50e44b41b4 674e0085ccc7 |
files | README.rst pylons_app/model/hg_model.py setup.py |
diffstat | 3 files changed, 18 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/README.rst Wed Jun 30 21:38:53 2010 +0200 +++ b/README.rst Wed Jun 30 22:47:19 2010 +0200 @@ -8,11 +8,13 @@ - has it's own middleware to handle mercurial protocol request each request can be logged and authenticated + threaded performance unlikely to hgweb +- full permissions per project read/write/admin access even on mercurial request - mako templates let's you cusmotize look and feel of appplication. - diffs annotations and source code all colored by pygments. - mercurial branch graph - admin interface for performing user/permission managments as well as repository managment +- backup scripts can do backup of whole app and send it over scp to desired location - setup project descriptions and info inside built in db for easy, non file-system operations - added cache with invalidation on push/repo managment for high performance and @@ -23,8 +25,9 @@ **Incoming** -- full permissions per project +- code review based on hg-review (when it's stable) - git support (when vcs can handle it) +- other cools stuff that i can figure out .. note:: This software is still in beta mode. I don't guarantee that it'll work. @@ -33,14 +36,22 @@ ------------- Installation ------------- +.. note:: + I recomend to install tip version of vcs while the app is in beta mode. + + - create new virtualenv and activate it -- download hg app and run python setup.py install -- goto build/ directory +- download hg app from default (not demo) branch from bitbucket and run + 'python setup.py install' this will install all required dependencies needed - goto pylons_app/lib and run python db_manage.py it should create all - needed tables and an admin account. + needed tables and an admin account. You can play with this file if you wish to + use different db than sqlite - edit file repositories.config and change the [paths] where you keep your mercurial repositories, remember about permissions for accessing this dir by hg app. - run paster serve development.ini the app should be available at the 127.0.0.1:5000 -- use admin account you created to login. \ No newline at end of file +- use admin account you created to login. +- default permissions on each repository is read, and owner is admin. So remember + to update those. + \ No newline at end of file
--- a/pylons_app/model/hg_model.py Wed Jun 30 21:38:53 2010 +0200 +++ b/pylons_app/model/hg_model.py Wed Jun 30 22:47:19 2010 +0200 @@ -2,7 +2,6 @@ # encoding: utf-8 # Model for hg app # Copyright (C) 2009-2010 Marcin Kuzminski <marcin@python-works.com> -from sqlalchemy.orm import joinedload # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -31,6 +30,7 @@ from vcs.exceptions import RepositoryError, VCSError from pylons_app.model.meta import Session from pylons_app.model.db import Repository +from sqlalchemy.orm import joinedload import logging import os import sys