[Flask] ngninx + gunicorn + flask + auto-reload

Gergely Polonkai gergely at polonkai.eu
Fri Jan 26 15:47:25 EST 2018


You may want to take a look into containers, PaaS providers, and CI/CD in
general.

The exact solution here depends on a lot of things. Are you hosting
yourself? Do you manage complete machines (either actual hardware or a VPS)
or just upload your app somewhere? Are you familiar with containerisation
and similar concepts?

Without all this info (and maybe more) itʼs hard to help.

On Fri, Jan 26, 2018, 21:27 Christophe BAL (via GMAIL) <projetmbc at gmail.com>
wrote:

> Thanks for the link but is is said that this setting is intended for
> development.
>
> Is there another way to have a continous integration of my web app ?
>
>
> Le 26/01/2018 à 20:25, Ziirish a écrit :
> > * On Friday, January 26, 2018 at 07:48 PM +0100, Christophe BAL (via
> GMAIL) <projetmbc at gmail.com> wrote:
> >> Hello.
> >>
> >> I have started a toy Flask *app.py* using ngninx and gunicorn on a VPS.
> This
> >> are my first steps on a VPS...
> >>
> >> I have updated *app.py* but I don't know how to restart
> >> ngninx-gunicorn-Flask such as to have my new *app.py* used on my VPS.
> >>
> >> How can I acheive this ?
> > I suppose this is what you are looking for:
> > http://docs.gunicorn.org/en/19.0/settings.html#reload
>
> --
> Christophe BAL
> Enseignant Agrégé de Mathématiques
> Programmeur Python Amateur
>
> _______________________________________________
> Flask mailing list
> Flask at python.org
> https://mail.python.org/mailman/listinfo/flask
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/flask/attachments/20180126/aebcb3d2/attachment.html>


More information about the Flask mailing list