Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flask #240

Open
kiran-2 opened this issue Nov 28, 2020 · 0 comments
Open

Flask #240

kiran-2 opened this issue Nov 28, 2020 · 0 comments

Comments

@kiran-2
Copy link

kiran-2 commented Nov 28, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant