I'm trying to get this program set up on a web server. I hosted it here, did all the steps. Installed all the packages. I've never ran a web application before so I've just been winging it and doing a lot of Google searches to no avail.
I believe I got the program itself set up correctly, I think the problem lies in the configuration of Flask.
I tried to run the program without flask and saw an error that iirc said something about needing to run a certain line if I wanna run it in a certain way. So I installed Flask and put this in as the main executing python file that will call the main file of the program.
import sys
from streamlit import cli as stcli
if __name__ == '__main__':
sys.argv = ["streamlit", "run", "main.py"]
sys.exit(stcli.main())
This fixed that error, but now I get this error for wsgi: module 'wsgi' has no attribute 'app'
Been going back and forth with this for hours to no avail.
This won't do you any good, but here's the link to the domain I'm trying to work from: http://programmers-delight.com/SwissKnife-Entities
cPanel Setup: cPanel Files
Hosting Web Application: Web Application in cPanel
Edit: This is the passenger_wsgi.py file
import imp
import os
import sys
sys.path.insert(0, os.path.dirname(__file__))
wsgi = imp.load_source('wsgi', 'application.py')
application = wsgi.app