Skip to content

Flask #240

@kiran-2

Description

@kiran-2

Flask App Building with Python
Start the app building by going to folder where you want to save code. In my case:
`D:>cd D:\Study\Internsala\Devincept\Devincept Intership AI
D:\Study\Internsala\Devincept\Devincept Intership AI>mkdir app5

D:\Study\Internsala\Devincept\Devincept Intership AI>cd app5`

Created a new environment as venv
py -3 -m venv venv

Activated with the following script
venv\Scripts\activate

Installed the flask package using:
pip install flask

Written the flask code in python using spyder interface as app.py. [https://github.com/jaikushwaha7/Flask-App-Building-Steps/blob/main/app2.py].

Set the flask app by connecting to app2.py and running it.
set FLASK_APP=app2.py
flask run

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions