requirements

This commit is contained in:
sanj 2010-05-10 19:00:24 +05:30
parent d9bd1554f4
commit 5455adc4f6
2 changed files with 4 additions and 3 deletions

6
fabfile.py vendored
View File

@ -33,8 +33,8 @@ def setup():
"""
Setup a fresh virtualenv
"""
local('bzr push --use-existing-dir bzr+ssh://%(host)s%(project_root)s'%env)
run('cd %(project_root)s; test -e .bzr/checkout || bzr checkout'%env)
# local('bzr push --use-existing-dir bzr+ssh://%(host)s%(project_root)s'%env)
# run('cd %(project_root)s; test -e .bzr/checkout || bzr checkout'%env)
run('virtualenv %(project_root)s'%env)
put(join('settings', '%(host)s.py'%env), join(env.project_root, env.project_name, 'local_settings.py'))
update_requirements()
@ -42,5 +42,5 @@ def setup():
def deploy():
bzr_push()
bzr_update()
virtual_run('python textb/manage.py syncdb;python textb/manage.py migrate'%env)
virtual_run('python ais/manage.py syncdb;python ais/manage.py migrate'%env)
run('touch %(project_root)s/wsgi/django.wsgi'%env)

View File

@ -3,3 +3,4 @@
-e bzr+http://code.0xdb.org/python-oxlib/#egg=python-oxlib
-e bzr+http://code.0xdb.org/python-oxweb/#egg=python-oxweb
South
fabric