Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Rename server.py to app.py for default Flask app discovery - #12

Open
stennie wants to merge 1 commit into
mainfrom
app-discovery
Open

Rename server.py to app.py for default Flask app discovery#12
stennie wants to merge 1 commit into
mainfrom
app-discovery

Conversation

@stennie

Copy link
Copy Markdown

Rename server.py to app.py so Flask app discovery finds this by default.

Current behaviour results in an error for flask run:

Error: Could not locate a Flask application. Use the 'flask --app' option, 'FLASK_APP' environment variable, or a 'wsgi.py' or 'app.py' file in the current directory.

Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@stennie