fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added ru translation (without wl data json fixture -- missing right_column for 'About...
[wolnelektury.git]
/
fabfile.py
diff --git
a/fabfile.py
b/fabfile.py
index
1305177
..
1995fd3
100644
(file)
--- a/
fabfile.py
+++ b/
fabfile.py
@@
-21,7
+21,7
@@
def staging():
env.python = '/usr/bin/python'
env.virtualenv = '/usr/bin/virtualenv'
env.pip = '/usr/bin/pip'
env.python = '/usr/bin/python'
env.virtualenv = '/usr/bin/virtualenv'
env.pip = '/usr/bin/pip'
-
+
def production():
"""Use production server"""
env.hosts = ['wolnelektury.pl:22123']
def production():
"""Use production server"""
env.hosts = ['wolnelektury.pl:22123']
@@
-54,8
+54,8
@@
def setup():
def deploy():
"""
def deploy():
"""
- Deploy the latest version of the site to the servers,
- install any required third party modules,
+ Deploy the latest version of the site to the servers,
+ install any required third party modules,
install the virtual host and then restart the webserver
"""
require('hosts', 'path', provided_by=[staging, production])
install the virtual host and then restart the webserver
"""
require('hosts', 'path', provided_by=[staging, production])