Skip to content

Does not accept FLASK_ENV variable to initialize application with specific environment #87

Description

@lildonpancho

The app breaks when setting the FLASK_ENV variable and changing the necessary code to accept that variable. It seems like it could be a circular dependency issue.

The desired way to set which config it is using is by setting the FLASK_ENV variable and then running flask run. The environments currently available are development, testing, and production. Right now, DevelopmentConfig is hardcoded in the __init__.py in the app directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions