fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix in librarian
[wolnelektury.git]
/
fabfile.py
diff --git
a/fabfile.py
b/fabfile.py
index
e614e9c
..
bdf0fad
100644
(file)
--- a/
fabfile.py
+++ b/
fabfile.py
@@
-1,4
+1,4
@@
-from fnpd
jango.d
eploy import *
+from fnpdeploy import *
try:
from fabfile_local import *
except ImportError:
try:
from fabfile_local import *
except ImportError:
@@
-13,6
+13,8
@@
def production():
env.hosts = ['giewont.icm.edu.pl']
env.user = 'lektury'
env.app_path = '/srv/wolnelektury.pl'
env.hosts = ['giewont.icm.edu.pl']
env.user = 'lektury'
env.app_path = '/srv/wolnelektury.pl'
+ env.django_root_path = 'src'
+ env.requirements_file = 'requirements/requirements.txt'
env.services = [
Supervisord('wolnelektury'),
Supervisord('wolnelektury.celery'),
env.services = [
Supervisord('wolnelektury'),
Supervisord('wolnelektury.celery'),
@@
-24,7
+26,12
@@
def beta():
env.hosts = ['giewont.icm.edu.pl']
env.user = 'lektury'
env.app_path = '/srv/wolnelektury.pl/beta'
env.hosts = ['giewont.icm.edu.pl']
env.user = 'lektury'
env.app_path = '/srv/wolnelektury.pl/beta'
- env.services = []
+ env.ve = '/srv/wolnelektury.pl/ve'
+ env.django_root_path = 'src'
+ env.requirements_file = 'requirements/requirements.txt'
+ env.services = [
+ Supervisord('beta'),
+ ]
@task
@task