requirements
This commit is contained in:
parent
d9bd1554f4
commit
5455adc4f6
6
fabfile.py
vendored
6
fabfile.py
vendored
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user