mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-13 22:32:15 +00:00
Updated fabfile for deployments
This commit is contained in:
4
fabfile.py
vendored
4
fabfile.py
vendored
@@ -44,9 +44,11 @@ def push():
|
||||
require('hosts')
|
||||
require('path')
|
||||
|
||||
stop()
|
||||
update_repo()
|
||||
setup_virtualenv()
|
||||
migrate()
|
||||
start()
|
||||
|
||||
|
||||
def setup_virtualenv():
|
||||
@@ -115,7 +117,7 @@ def start():
|
||||
require('path')
|
||||
|
||||
with cd('%(path)s/dreddit-auth/' % env):
|
||||
run('screen -d -m "./start.sh"')
|
||||
run('./start.sh')
|
||||
|
||||
|
||||
def stop():
|
||||
|
||||
Reference in New Issue
Block a user