Template supervisor conf.

Update docs to reflect simple installation.

Ensure allianceauth celery workers can find config file for development (doesn't work as celeryapp.py).
This commit is contained in:
Adarnof
2017-10-10 00:29:57 -04:00
parent 1c1dfde2c4
commit 3f33485ca9
8 changed files with 111 additions and 103 deletions

View File

@@ -1,5 +1,6 @@
#!/usr/bin/env python
import os
import sys
from optparse import OptionParser
from django.core.management import ManagementUtility
@@ -40,6 +41,8 @@ def create_project(parser, options, args):
utility_args = ['django-admin.py',
'startproject',
'--template=' + template_path,
'--pythonpath=' + '/'.join(sys.executable.split('/')[:-1]),
'--ext=conf',
project_name]
if dest_dir: