Running application using cherryd
Cherrypy-noob <[email protected]> Thu, 16 Mar 2017 06:29:36 -0700 (PDT)
| Newsgroups | gmane.comp.python.cherrypy |
|---|---|
| Message-ID | <[email protected]> |
Hi all, so as my username says I'm new to cherrypy and also in general linux and linux administration. I have created my simple cherrypy application which is is simple and consists of 1 python file. It needs to run in a specific virtualenv and is running behind apache using mod_proxy. This work but I have to start cherrypy app manually. The goal is now automating the start/stop of cherrypy application. I wanted to play with cherryd but I'm not getting how I can tell it to load my specific application (eg. python file). Is this the imports option? If yes how do I need to configure my app? Use quickstart or tree.mount? Do I put that at start of module or leave it in if __name__ == '__main__':? -- You received this message because you are subscribed to the Google Groups "cherrypy-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to cherrypy-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected] To post to this group, send email to cherrypy-users-/JYPxA39Uh5TLH3MbocFF+G/[email protected] Visit this group at https://groups.google.com/group/cherrypy-users. For more options, visit https://groups.google.com/d/optout.