ydin0771's picture
Upload README.md
eeec845
|
raw
history blame
645 Bytes

Getiting Start with Flask

install flask

to run the back end, firstly you should install the flask on your computer , open the commender and input pip instal flask and it will download quickly

setting the environment

seconly make should you have the venv and if no this your falsk app can not run smoothly

add the requirenment documents

create a requienment.txt add Flask==0.12.3click==6.7gunicorn==19.7.1itsdangerous==0.24Jinja2==2.9.6MarkupSafe==1.0pytz==2017.2requests==2.13.0Werkzeug==0.12.1

create main file

finaly the last line app.run(debug=True,host='0.0.0.0',port=80) you can set the port and host as you wish