librelist archives

« back to archive

Running Flask apps

Running Flask apps

From:
Joshua Finnie
Date:
2011-02-10 @ 19:47
Hi, I was wondering if anyone would like to share how they run (and most
importantly keep running) their Flask applications on shared hosting.

I have looked into screen, but I have multiple Flask apps running on the
same server in different levels of completeness.  I also know I could run
"nohup python app.py &" but just wondering if anyone has any tips &
tricks...

Thanks,

Josh

Re: [flask] Running Flask apps

From:
Matthew Hoopes
Date:
2011-02-10 @ 19:57
http://supervisord.org/

I use supervisord. Works pretty good so far (although the flask process
doesn't crash too often, if ever)

On Thu, Feb 10, 2011 at 2:47 PM, Joshua Finnie <joshua.finnie@gmail.com>wrote:

> Hi, I was wondering if anyone would like to share how they run (and most
> importantly keep running) their Flask applications on shared hosting.
>
> I have looked into screen, but I have multiple Flask apps running on the
> same server in different levels of completeness.  I also know I could run
> "nohup python app.py &" but just wondering if anyone has any tips &
> tricks...
>
> Thanks,
>
> Josh
>

Re: [flask] Running Flask apps

From:
Alex Ezell
Date:
2011-02-10 @ 20:00
Is it possible to install Supervisord on most shared hosting?

Depends on what you mean by shared I suppose. We use supervisord for most 
everything, so it naturally became the way we run Flask apps.

/alex
On Thursday, February 10, 2011 at 1:57 PM, Matthew Hoopes wrote: 
> http://supervisord.org/
> 
> I use supervisord. Works pretty good so far (although the flask process 
doesn't crash too often, if ever)
> 
>  On Thu, Feb 10, 2011 at 2:47 PM, Joshua Finnie <joshua.finnie@gmail.com> wrote:
> > Hi, I was wondering if anyone would like to share how they run (and 
most importantly keep running) their Flask applications on shared hosting.

> > I have looked into screen, but I have multiple Flask apps running on 
the same server in different levels of completeness.  I also know I could 
run "nohup python app.py &" but just wondering if anyone has any tips & 
tricks...
> > Thanks,
> > Josh
> > 
> 
> 
> 
> 

Re: [flask] Running Flask apps

From:
JimG
Date:
2011-02-10 @ 20:20
You should be able to use mod_wsgi.

On 10 February 2011 20:00, Alex Ezell <aezell@gmail.com> wrote:

>  Is it possible to install Supervisord on most shared hosting?
>
> Depends on what you mean by shared I suppose. We use supervisord for most
> everything, so it naturally became the way we run Flask apps.
>
> /alex
>
> On Thursday, February 10, 2011 at 1:57 PM, Matthew Hoopes wrote:
>
> http://supervisord.org/
>
> I use supervisord. Works pretty good so far (although the flask process
> doesn't crash too often, if ever)
>
> On Thu, Feb 10, 2011 at 2:47 PM, Joshua Finnie <joshua.finnie@gmail.com>wrote:
>
> Hi, I was wondering if anyone would like to share how they run (and most
> importantly keep running) their Flask applications on shared hosting.
>
> I have looked into screen, but I have multiple Flask apps running on the
> same server in different levels of completeness.  I also know I could run
> "nohup python app.py &" but just wondering if anyone has any tips &
> tricks...
>
> Thanks,
>
> Josh
>
>
>
>