aboutsummaryrefslogtreecommitdiff
path: root/modules/role/templates/caldance/manage.py.erb
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2020-04-23 01:12:02 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2020-04-23 01:41:27 +0200
commit76fd3abc7e4ba2f478f7e3d823b3ab8c8946b97c (patch)
treeb7082f4f6e87438d3296d37bc52d3a1b5c6f9ccf /modules/role/templates/caldance/manage.py.erb
parent441b866a095bd177a8faa541ea7ef605ba369fe9 (diff)
downloadPuppet-76fd3abc7e4ba2f478f7e3d823b3ab8c8946b97c.tar.gz
Puppet-76fd3abc7e4ba2f478f7e3d823b3ab8c8946b97c.tar.zst
Puppet-76fd3abc7e4ba2f478f7e3d823b3ab8c8946b97c.zip
Fix caldance app deployment
Diffstat (limited to 'modules/role/templates/caldance/manage.py.erb')
-rw-r--r--modules/role/templates/caldance/manage.py.erb9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/role/templates/caldance/manage.py.erb b/modules/role/templates/caldance/manage.py.erb
new file mode 100644
index 0000000..03cc97a
--- /dev/null
+++ b/modules/role/templates/caldance/manage.py.erb
@@ -0,0 +1,9 @@
1#!<%= @home %>/virtualenv/bin/python -O
2import os
3import sys
4
5if __name__ == "__main__":
6 os.environ.setdefault("DJANGO_SETTINGS_MODULE", "main_app.settings")
7
8 from django.core.management import execute_from_command_line
9 execute_from_command_line(sys.argv)