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

Add deploy doc for nginx + uwsgi #79

Merged
merged 2 commits into from
Dec 2, 2014
Merged

Add deploy doc for nginx + uwsgi #79

merged 2 commits into from
Dec 2, 2014

Conversation

juise
Copy link
Contributor

@juise juise commented Dec 1, 2014

No description provided.


First, you need to install uwsgi and uwsgi-plugin-python (by example for debian).

Then create the graphite-api-wsgi.py:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this absolutely necessary? I think uwsgi has a parameter named callable where you can specify the name of the application object. Or use the graphite_api.app:app notation like with gunicorn. Can you give it a try?

@brutasse
Copy link
Owner

brutasse commented Dec 1, 2014

Thanks for this! It'd be great if there were no additional .py file to create. I have very little uwsgi experience but I can also have a closer look if you need.

@juise
Copy link
Contributor Author

juise commented Dec 2, 2014

Hi! You are absolutely right, I don't know about callable (module) parameter.

@juise juise closed this Dec 2, 2014
@brutasse
Copy link
Owner

brutasse commented Dec 2, 2014

Great! You can keep this pull request open, your commit was added to it :)

@brutasse brutasse reopened this Dec 2, 2014
@juise
Copy link
Contributor Author

juise commented Dec 2, 2014

Thanks! I think you can merge this branch, or maybe I should fix smth else?

@brutasse
Copy link
Owner

brutasse commented Dec 2, 2014

That looks good, I'll merge and maybe make a few edits.

brutasse added a commit that referenced this pull request Dec 2, 2014
Add deploy doc for nginx + uwsgi
@brutasse brutasse merged commit ffb01d1 into brutasse:master Dec 2, 2014
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

Successfully merging this pull request may close these issues.

None yet

2 participants