/flask_template

flask_template

Primary LanguagePythonMIT LicenseMIT

flask_template

flask template /Users/wc/Project/template/flask_template-main

How to run this project

macOS

  • python3 --version
  • python3 -m pip — version OR python3 -m pip -V
  • python3 -m pip install --upgrade pip
  • pip3 install virtualenv

windows OS

  • python -V
  • py -m pip -version OR py -m pip -V
  • py -m pip install --upgrade pip
  • py install virtual

Create virtualenv with folder name venv

mac OS

python3 -m venv venv

. venv/bin/activate

windows OS

py -m venv venv

venv\Scripts\activate

Pull and pip install all depencies from requirements.txt

run code

  • python run.py

run testing script

  • pytest

Setup Database in MySQL

  • database name : template.db
  • username: 'root'
  • password:

Change the config

see file config.py

Resources

https://github.com/freeCodeCamp https://realpython.com/python-sqlite-sqlalchemy/ https://www.youtube.com/playlist?list=PLLjmbh6XPGK4ISY747FUHXEl9lBxre4mM

https://www.w3schools.com/colors/colors_picker.asp
https://www.w3schools.com/css/default.asp
https://www.w3schools.com/html/default.asp
https://www.w3schools.com/js/default.asp
https://www.w3schools.com/python/default.asp


https://coolors.co
https://icons8.com
https://www.colorbook.io
https://fonts.google.com
https://unsplash.com
https://dribbble.com/shots/popular/web-design