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

How to run this with nginx & uwsgi? #456

Closed
COLABORATI opened this issue May 11, 2016 · 2 comments
Closed

How to run this with nginx & uwsgi? #456

COLABORATI opened this issue May 11, 2016 · 2 comments

Comments

@COLABORATI
Copy link

COLABORATI commented May 11, 2016

Ok, I am a little bit confused about the many options on how to run python webapps, unfortunately there is no one zen way of doing this. There are some tutorials out there that explain how to run a simple flask app, however none of them explains how to do this if the flask app is a python package that was installed with pip.

It would be really great if you could add a few lines of documentation of how to run caravel behind an nginx + uwsgi setup, thanks!

@mistercrunch
Copy link
Member

We just run the gunicorn server in production, though it's behind an nginx reverse proxy that takes care of authentication and load balancing and we're happy with that setup.

If you don't like the gunicorn approach, perhaps you want to make your own builds (I think it's just about running npm run prod from the assets folder) an run off the file system instead of the pip package. Once you do, feel free to contribute your process in our docs, though I think running flask apps on nginx is well documented already.

@COLABORATI
Copy link
Author

Right, I now understand that there is already gunicorn that comes with caravel out of the box. No need for uwsgi.

zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 17, 2021
* feat: add plugin generator

* feat: add templates

* feat: add templates

* fix: wrong path

* fix: unit test

* fix: coverage

* fix: simplify template
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 24, 2021
* feat: add plugin generator

* feat: add templates

* feat: add templates

* fix: wrong path

* fix: unit test

* fix: coverage

* fix: simplify template
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 25, 2021
* feat: add plugin generator

* feat: add templates

* feat: add templates

* fix: wrong path

* fix: unit test

* fix: coverage

* fix: simplify template
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 26, 2021
* feat: add plugin generator

* feat: add templates

* feat: add templates

* fix: wrong path

* fix: unit test

* fix: coverage

* fix: simplify template
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