Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 1.11 KB

README.md

File metadata and controls

44 lines (29 loc) · 1.11 KB

Flask Test for Frappe : https://frappe.io/flask-test

  • python3 -m venv env
  • source env/bin/activate

Windows

  • Run in Powershell as administrator :
  • Set-ExecutionPolicy unrestricted
  • Reference

Execute .\env\Scripts\activate.ps1 in PowerShell OR .\env\Scripts\activate.bat in command prompt

Install pip modules :

pip install flask
pip install flask_mysqldb
pip install pyyaml

Import Database :

Get-Content flask-test.sql | & 'C:\Program Files\MySQL\MySQL Server 8.0\bin\mysql.exe' --user=root --database=flask-test --port=3306 -p

NodeJS for Development

Install TailWindCSS + Flowbite :

npm install -D tailwindcss
npm install flowbite
npx tailwindcss -i ./static/src/input.css -o ./static/dist/css/output.css --watch

Products Index

Product Edit

Screenshots in screenshots directory

Updated to use TailWindCSS