bottle app "crashes"
mvoicem at gmail.com
Mon Jul 6 22:09:40 CEST 2015
W dniu 06.07.2015 o 21:28, mm0fmf pisze:
> On 05/07/2015 17:45, Martin S wrote:
>> > Hi all,
>> > Last summer I fumbled together a small appplication that calculates both LASK
>> > and Elo ratings for chess. I managed to "webify" it using Bottle. This works
>> > nicely on my laptop for testing.
>> > Do anyone have a pointer to an idiot proof instruction on how to deploy a
>> > simple bottle application to a live server.
>> > /Martin S
> I use bottle as it comes to provide 2 apps that face straight onto the
> web. I have to say that I have only done half the job because I never
> got as far as daemonising them. I simply run them from a "screen"
> session. This is fine as they run on my own teeny-tiny Linux VM (256MB
> ram/5GB disk with 1 Xeon core).
> I simply log in and type "screen python3 myapp.py" and remember to exit
> with ctrl-A D.
I would suggest using supervisor.
More information about the Python-list