/Flask-Blog-Tutorial

Learning how to use Flask with python

Primary LanguageHTML

Flask-Blog-Tutorial

Learning how to use Flask with python

How to run

  1. Install version 1.x , 2.x , or 3.x of Python
  2. Open Terminal(cmd), migrate to the source folder
  3. Install flask by typing: pip install flask
  4. Install flask-wtf by typing: pip install Flask-WTF
  5. Install flask-sqlalchemy by typing: pip install flask-sqlalchemy
  6. Make sure the flask blog python file is in the source folder
  7. In terminal type: set FLASK_APP=flaskblog.py , press enter
  8. In terminal type: set FLASK_DEBUG=1
  9. In terminal type: flask run, press enter
  10. In the web browser, type the ip address and the port of the flask project