diff --git a/api.pyc b/api.pyc deleted file mode 100644 index a353789..0000000 Binary files a/api.pyc and /dev/null differ diff --git a/modules/django.py b/modules/django.py index 6017dea..6e37104 100644 --- a/modules/django.py +++ b/modules/django.py @@ -370,7 +370,7 @@ def generate_scripts(template_name, make_copy=False): @task def generate(param=None, make_copy=False): SCRIPT_LIST = ['settings', 'local', 'wsgi'] - PARAM_LIST = SCRIPT_LIST + PARAM_LIST = list(SCRIPT_LIST) PARAM_LIST.append('gunicorn') make_copy = booleanize(make_copy) @@ -399,6 +399,8 @@ def generate(param=None, make_copy=False): for scriptkey in SCRIPT_LIST: generate_scripts(scriptkey, make_copy) + generate_gunicorn(make_link=make_copy) + elif param == 'gunicorn': generate_gunicorn(make_link=make_copy) else: diff --git a/templates/meta/staging.yml b/templates/meta/staging.yml index 9a3e835..99df69e 100644 --- a/templates/meta/staging.yml +++ b/templates/meta/staging.yml @@ -31,7 +31,7 @@ project: group: BRANCH_GROUP host: PROJECT_IP name: PROJECT_NAME - paths: {home: PROJECT_NAME.prj, root: /home/website} + paths: {root: /home/website} sudo: true user: BRANCH_USER rootpath: /var/www