On Sun, Aug 19, 2012 at 7:27 PM, Mark Huang wrote:
> Oh yeahthat's actually what I'm doing right now, but I just thought
> there was a way to "Python-ize" it like that running.py script.
Something like this should do the trick:
```
from gunicorn.app.pasterapp import paste_server
from paste.d
Oh yeahthat's actually what I'm doing right now, but I just thought
there was a way to "Python-ize" it like that running.py script.
On Sunday, 19 August 2012 14:25:29 UTC-5, León Domingo wrote:
>
> Hi Mark,
> As fas as I know there's no need for "running.py" file.
>
> Take a look at this
> ht
Hi Mark,
As fas as I know there's no need for "running.py" file.
Take a look at this
http://gunicorn.org/run.html#contents
Once you install gunicorn a *gunicorn_paster* command is available. This
command makes your Pyramid (Paster-like) application run. I use it with
nginx and supervisor
Hope
Hi,
I was reading the Pyramid cookbook and found the Heroku deployment guide.
There's a section inside that talks about creating a file called
running.py:
import os
from paste.deploy import loadappfrom waitress import serve
if __name__ == "__main__":
port = int(os.environ.get("PORT", 5000)