Update fabfile for osmfr
This commit is contained in:
parent
03cf69516f
commit
eb73ebf640
1 changed files with 4 additions and 2 deletions
6
fabfile.py
vendored
6
fabfile.py
vendored
|
@ -226,8 +226,9 @@ def dj(command):
|
||||||
"""
|
"""
|
||||||
Run a Django manage.py command on the server.
|
Run a Django manage.py command on the server.
|
||||||
"""
|
"""
|
||||||
run_as_umap('{virtualenv_dir}/bin/python {project_dir}/manage.py {dj_command} '
|
with cd(env.project_dir):
|
||||||
'--settings {project_conf}'.format(dj_command=command, **env))
|
run_as_umap('{virtualenv_dir}/bin/python {project_dir}/manage.py {dj_command} '
|
||||||
|
'--settings {project_conf}'.format(dj_command=command, **env))
|
||||||
|
|
||||||
|
|
||||||
def collect_remote_statics():
|
def collect_remote_statics():
|
||||||
|
@ -270,4 +271,5 @@ def collect_remote_statics():
|
||||||
with cd(subdir):
|
with cd(subdir):
|
||||||
run_as_umap('git checkout {0}'.format(ref))
|
run_as_umap('git checkout {0}'.format(ref))
|
||||||
if subdir == "leaflet":
|
if subdir == "leaflet":
|
||||||
|
run_as_umap('npm install')
|
||||||
run_as_umap('jake build')
|
run_as_umap('jake build')
|
||||||
|
|
Loading…
Reference in a new issue