Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 1.03 KB

README.md

File metadata and controls

23 lines (19 loc) · 1.03 KB
PythonSample

PythonSample

Steps to run the project

On MacOS

  1. Clone the project
  2. Open in PyCharm or Sublime
  3. Open the terminal go inside the directory 'PythonSample'
  4. Execute python --version to see the Python version in your Mac
  5. Execute pip --version to see whether you have installed pip already and to know it's version
  6. If pip is not installed use sudo easy_install pip to install it
  7. Install virtualenv by using the command sudo pip install virtualenv (virtualenv is a tool for creating isolated Python environments)
  8. Execute following command virtualenv --no-site-packages venv
  9. Execute source venv/bin/activate
  10. Execute pip install flask
  11. Execute python sql.py
  12. Execute python app.py (Open the browser and go to localhost:5000)
  13. Execute python tests.py -v