Help running flask app
This is my first time using flask so bear with me...
here is my app.py code
Just to test everything out, but when I visit the domain I generated it says 'Application error'
Console:
10 Replies
Project ID:
aecdad28-da47-4b87-bfdd-d01e52a8beff
You might find these helpful:
- Flask api not working
- Deploying python 2.7 flask app
- Exposing an App
⚠️ experimental feature
aecdad28-da47-4b87-bfdd-d01e52a8beff
use this as a starting base
https://github.com/railwayapp-templates/flask
gotchu thanks
Just changing this fixed it lol.. why didnt what I do work tho
no, please use the template I linked as a base, it uses gunicorn, you don't ever want to use flask's built in server on railway
the logs even tell you not to do it
twice!
Yeah this isnt really a large scale project, more of a college project really small scale, ill use gunicorn tho sure
much appreciated, it's always a good idea to do things the right way even for small scale projects
👍