Skip to content

verify gunicorn is in requirements.txt before adding as a start command #211

Open
@gilzow

Description

@gilzow

G/ is reporting that when upsun project:init detected his code as a Flask stack, the written config file included:

start: "gunicorn -b unix:$SOCKET 'app:app' --log-file -"

for web:commands:start. HOWEVER, upsun project:init did not verify that gunicorn was included in the requirements.txt and therefore the app failed to start correctly.

We need to verify that gunicorn is in requirements before adding gunicorn start command, or at least warn the user to make sure it is included.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions