Thursday 26 October 2017

Installing Flask on Windows

Here is a quick instruction:



  1. Install python: https://www.python.org/downloads/
  2. Go to the scripts folder of the python folder
  3. Run pip.exe install virtualenv
  4. Run virtualenv.exe test_project
  5. Go to the script folder of the new folder: cd test_project/Scripts
  6. Run pip.exe install Flask
  7. Create a hello-world app
  8. Run it from the current directory: python.exe hello.py

No comments:

Post a Comment