Skip to content

Improve Add Dockerfiles to Django projects #3410

@ucheNkadiCode

Description

@ucheNkadiCode

Scenario:

User selects add dockerfiles to workspace
Select Application Platform -> no change
Python: Django -> no change
Choose the app's entry point (e.g. manage.py, app.py)

My suggestion is to add a dialog so the user can (optionally) select where their wsgi.py file is in their application. We should try to look for wsgi file in the root folder as well as the [workspace name][workspace_folder of same name]\wsgi.py > ...(e.g. wsgi.py, asgi.py) and pop those to the top, but then also allow them to type it in

Port: 8000 -> no change

If they choose manage.py, need to attempt to locate the wsgi.py, but if they choose wsgi.py or asgi.py then use the path exactly

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions