Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong wsgi path #29

Closed
nikulk opened this issue Dec 10, 2015 · 3 comments
Closed

wrong wsgi path #29

nikulk opened this issue Dec 10, 2015 · 3 comments

Comments

@nikulk
Copy link

nikulk commented Dec 10, 2015

In ansible-django-stack/roles/web/templates/gunicorn_start.j2, according to the README directory structure, shouldn't the last line: {{ application_name }}.wsgi be {{ project_name }}.wsgi? (since wsgi is in project path, not apps dir)

@jcalazan
Copy link
Owner

Hey nileshbits, it does seem confusing and I should update the readme. I should've called the second myproject in the tree myapplication. The first myproject is the git project root, the second one is the main Django app, and the apps dir is for the sub-applications with their own views/models/urls.

I'll add to my to do list to update this. Thanks for pointing it out!

@nikulk
Copy link
Author

nikulk commented Dec 21, 2015

Great! By the way, great job on providing this playbook... saved me tons of time!

@jcalazan
Copy link
Owner

Np nileshbits! Glad you found it useful :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants