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

Jeffrey Levesque jeff1evesque at yahoo.com
Sun Jan 28 11:21:43 EST 2018


My project uses flask + nginx + gunicorn + Travis CI:

- https://github.com/jeff1evesque/machine-learning


Thank you,

Jeff Levesque
https://github.com/jeff1evesque

> On Jan 26, 2018, at 3:47 PM, Gergely Polonkai <gergely at polonkai.eu> wrote:
> 
> 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
> _______________________________________________
> 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/20180128/751ef2c7/attachment.html>


More information about the Flask mailing list