From a22d808b7ba2ea7f0e672de82fc77e152575c1c1 Mon Sep 17 00:00:00 2001 From: Shiro-Nek0 Date: Thu, 26 Feb 2026 01:59:16 -0300 Subject: [PATCH] modified: README.md --- README.md | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index ad67311..d35dbd8 100644 --- a/README.md +++ b/README.md @@ -15,15 +15,15 @@ Build and run the central inventory server: ```bash # Build the image -docker build -t sekipos . +docker build -t sekipos:latest . # Run the container (Map port 5000 and persist the database/cache) docker run -d \ -p 5000:5000 \ - -v $(pwd)/pos_database.db:/app/pos_database.db \ - -v $(pwd)/static/cache:/app/static/cache \ + -v $(pwd)/sekipos/db:/app/db \ + -v $(pwd)/sekipos/static/cache:/app/static/cache \ --name sekipos-server \ - sekipos + sekipos:latest ``` Or use this stack: @@ -37,7 +37,7 @@ services: - YOUR_PATH/sekipos/db:/app/db - YOUR_PATH/sekipos/static/cache:/app/static/cache container_name: sekipos-server - image: sekipos + image: sekipos:latest ``` ## 🔌 Hardware Scanner Bridge (`ScannerGO`) @@ -57,6 +57,11 @@ chmod +x ScannerGO-linux *Note: Ensure the `-url` points to your Docker container's IP address.* +All this program does its send the COM data from the scanner gun to: +``` +https://scanner.sekidesu.xyz/scan?content=BAR-CODE +``` + ## 📦 Local Installation (Development) If you're too afraid of Docker: @@ -72,4 +77,9 @@ python app.py ## 📁 Structure - `app.py`: The inventory/web server. - `static/cache/`: Local repository for product images. -- `pos_database.db`: SQLite storage. \ No newline at end of file +- `db/pos_database.db`: SQLite storage. + +## 📋 TODOs? +- Fruits and vegetables list +- Better admin registration(?) +- Cache user edited pictures \ No newline at end of file