Skip to content

anjanesh/flask-test

Repository files navigation

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

About

Frappe's flask test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published