[Flask] ngninx + gunicorn + flask + auto-reload
Christophe BAL (via GMAIL)
projetmbc at gmail.com
Sat Jan 27 12:47:28 EST 2018
Thanks for your answer.
* I have a complete Debian machine on a VPS.
* If I have to use Docker, I can.
My purpose is to have a /"as smooth as possible"/ way to update my webapp.
Le 26/01/2018 à 21:47, Gergely Polonkai a écrit :
>
> 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 <mailto: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 <mailto: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 <mailto:Flask at python.org>
> https://mail.python.org/mailman/listinfo/flask
>
--
Christophe BAL
Enseignant Agrégé de Mathématiques
Programmeur Python Amateur
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/flask/attachments/20180127/7bd6b713/attachment.html>
More information about the Flask
mailing list