changeset 244:782f0692b29c

fixed setup and install instructions
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 01 Jun 2010 22:19:03 +0200
parents 9d64df490248
children a83a1799480c
files README.txt repositories.config setup.py
diffstat 3 files changed, 19 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/README.txt	Tue Jun 01 22:06:48 2010 +0200
+++ b/README.txt	Tue Jun 01 22:19:03 2010 +0200
@@ -19,6 +19,17 @@
 
 
 == INSTALATION
-run dbmanage.py from pylons_app/lib it should create all needed table and
-an admin account, Edit file repositories.config and change the path for you 
-mercurial repositories, remember about permissions.
\ No newline at end of file
+ - create new virtualenv,
+ - run python setup.py install
+ - goto build/ directory
+ - goto pylons_app/lib and run python db_manage.py it should create all 
+   needed tables and an admin account. 
+ - 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 production.ini 
+   the app should be available at the 127.0.0.1:8001, the static files should be
+   missing since in production.ini sets static_files = false change it to true
+   for serving static files in hg app, but i highly recommend to serve 
+   statics by proxy (nginx or similar).
+ - use admin account you created to login.   
\ No newline at end of file
--- a/repositories.config	Tue Jun 01 22:06:48 2010 +0200
+++ b/repositories.config	Tue Jun 01 22:19:03 2010 +0200
@@ -2,15 +2,13 @@
 #to do push with autoupdate
 changegroup = hg update >&2
 
-[extensions]
-hgext.highlight=
-#hgk=
-
 [web]
+#for http requests push ssl to false
 push_ssl = false
 allow_archive = gz zip bz2
 allow_push = *
 baseurl = /
 
 [paths]
-/ = /home/marcink/python_workspace/**
+#this path should point to mercurial repositories remeber about '*' at the end
+/ = /home/marcink/python_workspace/*
--- a/setup.py	Tue Jun 01 22:06:48 2010 +0200
+++ b/setup.py	Tue Jun 01 22:19:03 2010 +0200
@@ -11,13 +11,13 @@
     version=get_version(),
     description='',
     author='marcin kuzminski',
-    author_email='marcin@python-blog.com',
+    author_email='marcin@python-works.com',
     url='',
     install_requires=[
         "Pylons>=1.0.0",
         "SQLAlchemy>=0.6",
         "Mako>=0.3.2",
-        "vcs>=0.1.1",
+        "vcs>=0.1.2",
         "pygments>=1.3.0"
     ],
     setup_requires=["PasteScript>=1.6.3"],