Starting Tornado Web
        Posted  
        
            by picklepete
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by picklepete
        
        
        
        Published on 2010-05-19T09:56:11Z
        Indexed on 
            2010/05/28
            7:22 UTC
        
        
        Read the original article
        Hit count: 462
        
Hi,
I'm quite new to using Tornado Web as a web server, and am having a little difficulty keeping it running. I normally use Django and Nginx, and am used to start/stop/restarting the server. However with Tornado I'm having trouble telling it to "run" without directly executing my main python file for the site, ie "python ~/path/to/server.py".
I'm sure I'm getting this completely wrong - is there a way of 'bootstrapping' my script so that when Nginx starts, Tornado starts?
Any help would be appreciated!
© Stack Overflow or respective owner