Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 968 Bytes

README.md

File metadata and controls

32 lines (25 loc) · 968 Bytes

Watch Store ecommerce base on Flask

Watch Store Galery

Home Page

Create new venv on Windows

py -3 -m venv venv venv\Scripts\activate

Install Flask

pip install -r requirements.txt

  • Add venv package to requirements.txt

pip freeze > requirements.txt

Run Server

flask --app shop run flask --app shop --debug run

Add packages into requirements.txt

pip freeze > requirements.txt

References

Flask Flask-SQLAlchemy Flask-Migrate Icons8

Clear Cache

python -Bc "import pathlib; [p.unlink() for p in pathlib.Path('.').rglob('*.py[co]')]"
python -Bc "import pathlib; [p.rmdir() for p in pathlib.Path('.').rglob('__pycache__')]"