fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
298c7e9
)
update counters on beta deploy
author
Jan Szejko
<j-sz@o2.pl>
Thu, 28 Jan 2016 11:28:28 +0000
(12:28 +0100)
committer
Jan Szejko
<j-sz@o2.pl>
Thu, 28 Jan 2016 11:28:28 +0000
(12:28 +0100)
fabfile.py
patch
|
blob
|
history
diff --git
a/fabfile.py
b/fabfile.py
index
bdf0fad
..
2badd97
100644
(file)
--- a/
fabfile.py
+++ b/
fabfile.py
@@
-1,4
+1,7
@@
from fnpdeploy import *
+
+from catalogue.helpers import update_counters
+
try:
from fabfile_local import *
except ImportError:
@@
-29,6
+32,9
@@
def beta():
env.ve = '/srv/wolnelektury.pl/ve'
env.django_root_path = 'src'
env.requirements_file = 'requirements/requirements.txt'
+ env.pre_collectstatic = [
+ update_counters,
+ ]
env.services = [
Supervisord('beta'),
]