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