Fix: Remove keys etc. for public demo repo.

This commit is contained in:
2025-01-14 10:53:24 +00:00
parent ed13ccb2c1
commit 2103335735
204 changed files with 49 additions and 52579 deletions

View File

@@ -1,41 +1,55 @@
Precision and Research Technology Systems Limited
Website with online store
ERP system with e-commerce store
Powered by flask
enter virtual environment:
# Run
1. enter virtual environment:
python -m venv VIRTUAL_ENVIRONMENT_NAME
run module bundler:
2. install required packages:
pip install -r requirements.txt
3. run module bundler:
npm run build
host for machine:
4. host for machine:
python -m flask run
host for local network:
(or 4.) host for local network:
python -m flask run --host=0.0.0.0
files dedicated to each page:
CSS
page
HTML
page
row
JavaScript
page
api
router
base - navigation buttons
MySQL
get
save
table
staging table
audit table
Python
business object
controller
datastore
form
model
# Code review
Sample files:
CSS:
Page styles
static/css/pages/store/supplier.css
JavaScript:
Page object
static/js/pages/store/product_categories.js
Router
static/js/router.js
HTML:
Layout template
templates/layouts/layout.html
Page template
templates/pages/store/_supplier.html
Python:
Business object:
business_objects/store/product_price.py
Controller:
controllers/core.py
Datastore:
datastores/datastore_store_product_category.py
Model:
models/model_view_store_product_permutation.py
SQL:
Table:
static/MySQL/1403_tbl_Shop_Supplier_Address.sql
Trigger
static/MySQL/3000_tri_Shop_Access_Level.sql
Save procedure
static/MySQL/7200_p_shop_save_product_category.sql