ajaxStardust Posted 1 hour ago Posted 1 hour ago (edited) Edit: How do I identify which server i'm on? (e.g. morty, etc..) reading here, but not really sure what to make of it. also, the examples provided are for a Plesk install, but i'm on a VPS w/ Hestia. My past Experience w/ Python web apps: i've installed (on my private LAN, debian setup) and run Python Flask (and Django, and the Jupyter notebook thing,etc.) my setup required Gunicorn. that's right at the time that i incurred the brain damage. that's basically where i was, but i totally can't remember... i guess it doesn't matter for an Apache Server? or maybe Gunicorn was independent of NGINX. maybe it doesn't matter w/ the Helio servers? i find it confusing before i get started, because I don't see you guys talking about that sort of setup at https://wiki.helionet.org/Flask i must be forgetting something simple. Suggestions? Edited 8 minutes ago by ajaxStardust Quote
ajaxStardust Posted 1 hour ago Author Posted 1 hour ago (edited) trying this way... import os, sys # edit your path below sys.path.append("/home/admin/web/vps111.heliohost.us/public_html/flaskdemo"); sys.path.insert(0, os.path.dirname(__file__)) from myapp import app as application # set this to something harder to guess application.secret_key = 'secret' does that look correct for the wsgi file? if my path is ./flaskdemo the (presumed) public url being https://vps111.heliohost.us/flaskdemo Edited 5 minutes ago by ajaxStardust detail Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.