Hello everyone. I have a simple project that i cant get to load on pythonAnywhere. I will try to list the important steps so that my most likely simple mistake can be identified.
I used the ssh method using this guide: https://www.youtube.com/watch?v=4sTZN15J33A I did deploy an even simpler site with this method last year so i dont think that is the issue.
- Add ssh key and git copy my repo
- create a virtual environment that installs all the files from the requirements.text file
- creates an app using the flask template. I select the path: /home/MagnusPytAny/Pizza_Store/app.py . Pizza store is the Repo and app.py is the main file (tried renaming it to main.py but that did not change anything)
- added virtual environment path /home/MagnusPytAny/.virtualenvs/myvirtualenv
- Reload the website and click on my designated link which then only returns the default "Hello from Flask!"
I have no idea why i get the default message when i have specified the path to the file. And since i dont get any errors either , it is incredibly difficult to troubleshoot what i have missed. I cannot even find the python file that is creating the default message.
Would really appreciate some input on this frustrating issue
[edit by admin: formatting]