fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cache fix
[wolnelektury.git]
/
deployment.py
diff --git
a/deployment.py
b/deployment.py
old mode 100644
(file)
new mode 100755
(executable)
index
b156b93
..
ab19880
--- a/
deployment.py
+++ b/
deployment.py
@@
-31,7
+31,7
@@
def update_application():
os.system("%s install -r %s" % (PIP, os.path.join(ROOT, 'etc', 'requirements.txt')))
print "done."
os.system("%s install -r %s" % (PIP, os.path.join(ROOT, 'etc', 'requirements.txt')))
print "done."
-ROOT = os.path.dirname(os.path.
abspath(__file__
))
+ROOT = os.path.dirname(os.path.
dirname(os.path.abspath(__file__)
))
PYTHON = os.path.join(ROOT, 'pythonenv', 'bin', 'python')
PIP = os.path.join(ROOT, 'pythonenv', 'bin', 'pip')
PYTHON = os.path.join(ROOT, 'pythonenv', 'bin', 'python')
PIP = os.path.join(ROOT, 'pythonenv', 'bin', 'pip')