Forums

Trouble figuring out how to set up WSGI for my flask project

Sorry if this shouldn't really be asked here but I am having trouble understanding how to set up a flask app. It's really just me wanting to test a REST endpoint and I had it up and running locally. The app is wrapped in a manager that seems to be my issue but I have no idea if this is the problem and the right thing that I need to look into changing. basically locally I would just run python manage.py server. Am I supposed to point my WSGI file here to that manage.py file? Pointing it to the app.py file causes import errors.

Sorry for the goose chase. Turns out I was pointing to app.py when I should have just pointed the path to manage.py. Did that and it's working great!

             / ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄\    
<<<<<<:>~  <   Yay!          |   
             \_________/

Good job on figuring it out :D