##// END OF EJS Templates
fixed setup and install instructions
marcink -
r244:782f0692 default
parent child Browse files
Show More
@@ -19,6 +19,17 b' our company regular hgwebdir.'
19
19
20
20
21 == INSTALATION
21 == INSTALATION
22 run dbmanage.py from pylons_app/lib it should create all needed table and
22 - create new virtualenv,
23 an admin account, Edit file repositories.config and change the path for you
23 - run python setup.py install
24 mercurial repositories, remember about permissions. No newline at end of file
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 #to do push with autoupdate
2 #to do push with autoupdate
3 changegroup = hg update >&2
3 changegroup = hg update >&2
4
4
5 [extensions]
6 hgext.highlight=
7 #hgk=
8
9 [web]
5 [web]
6 #for http requests push ssl to false
10 push_ssl = false
7 push_ssl = false
11 allow_archive = gz zip bz2
8 allow_archive = gz zip bz2
12 allow_push = *
9 allow_push = *
13 baseurl = /
10 baseurl = /
14
11
15 [paths]
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 version=get_version(),
11 version=get_version(),
12 description='',
12 description='',
13 author='marcin kuzminski',
13 author='marcin kuzminski',
14 author_email='marcin@python-blog.com',
14 author_email='marcin@python-works.com',
15 url='',
15 url='',
16 install_requires=[
16 install_requires=[
17 "Pylons>=1.0.0",
17 "Pylons>=1.0.0",
18 "SQLAlchemy>=0.6",
18 "SQLAlchemy>=0.6",
19 "Mako>=0.3.2",
19 "Mako>=0.3.2",
20 "vcs>=0.1.1",
20 "vcs>=0.1.2",
21 "pygments>=1.3.0"
21 "pygments>=1.3.0"
22 ],
22 ],
23 setup_requires=["PasteScript>=1.6.3"],
23 setup_requires=["PasteScript>=1.6.3"],
General Comments 0
You need to be logged in to leave comments. Login now