Browse files

Update configure option in Fabfile.

  • Loading branch information...
1 parent 29e3a80 commit f7637ecac2df9eabff5a91c8eea42cb66e089c51 @berkerpeksag committed Nov 13, 2011
Showing with 6 additions and 1 deletion.
  1. +6 −1 fabfile.py
View
7 fabfile.py
@@ -65,8 +65,13 @@ def configure():
run('virtualenv --no-site-packages .')
run('source bin/activate')
run('%(root)s%(project_name)s/bin/pip install -r %(root)s%(project_name)s/requirements.txt' % env)
+ static()
+ put_db()
sudo('ln -s /home/wakefield/berkerpeksag/conf/nginx.conf /etc/nginx/sites-enabled/berkerpeksag.com')
- restart_nginx()
+ sudo('bin/echo_supervisord_conf > /etc/supervisord.conf')
+ sudo('echo conf/supervisor.conf >> /etc/supervisord.conf')
+ run('bin/supervisord')
+
def setup():

0 comments on commit f7637ec

Please sign in to comment.