Permalink
Browse files

Fall 2011 Release

  • Loading branch information...
1 parent cd003b0 commit 04ac7d4b862bca3678b77f73036ded63d576a219 @StephenPower committed Nov 20, 2011
Showing with 0 additions and 35 deletions.
  1. BIN .DS_Store
  2. +0 −35 fabfile.py
View
Binary file not shown.
View
@@ -1,35 +0,0 @@
-from __future__ import with_statement
-
-from fabric.api import *
-from fabric import state
-
-
-state.output['debug'] = True
-
-def beta():
- env.hosts = ['www.knewmismatic.com']
- env.user = None
- env.password = None
- env.virtualenv = '/home/beta/ENV'
- env.repository = '/home/beta/poc'
- env.repository_user = 'beta'
- env.user = 'beta'
- #prompt('username: ', 'user')
- #prompt('password: ', 'password')
-
-
-def update():
- with cd(env.repository):
- run("hg pull -u")
- run("%s/bin/python %s/stores/manage.py migrate" % (env.virtualenv, env.repository))
- run("%s/bin/python %s/marketplaces/manage.py migrate" % (env.virtualenv, env.repository))
-
-def apache_restart():
- sudo("/etc/init.d/apache2 restart")
-
-def deploy():
- update()
- apache_restart()
-
-
-

0 comments on commit 04ac7d4

Please sign in to comment.