Files
partsERP/README.md

56 lines
1.1 KiB
Markdown

Precision and Research Technology Systems Limited
ERP system with e-commerce store
# Run
1. enter virtual environment:
python -m venv VIRTUAL_ENVIRONMENT_NAME
2. install required packages:
pip install -r requirements.txt
3. run module bundler:
npm run build
4. host for machine:
python -m flask run
(or 4.) host for local network:
python -m flask run --host=0.0.0.0
# 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