Actualizar README.md

This commit is contained in:
2026-04-17 22:59:07 -07:00
parent c09a071103
commit 579947a331

View File

@@ -182,22 +182,51 @@ Ver [docs/INSTALACION.md](docs/INSTALACION.md) para instrucciones detalladas.
**Nexus Autoparts** -- Tu conexion directa con las partes que necesitas
Procesando disparadores para man-db (2.13.1-1) ...
✓ System deps installed
→ Installing Python packages...
error: externally-managed-environment
Instance: Strada Autopartes
Tenant DB: tenant_strada (ID: )
Owner PIN: 1234
Local IP: 192.168.10.152
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
For more information visit http://rptl.io/venv
To start the POS:
systemctl start nexus-pos
# or manually: cd /home/Autopartes/pos && gunicorn -w 2 -b 0.0.0.0:5001 app:app
To add peers, edit: /home/Autopartes/pos/peers.json
To import inventory: python3 /home/Autopartes/scripts/import_inventory.py --tenant= --csv=inventario.csv
Access: http://192.168.10.152:5001/pos/login
nexus-1@raspberrypi:/home/Autopartes $ sudo systemctl start nexus-pos
nexus-1@raspberrypi:/home/Autopartes $ sudo systemctl status nexus-pos
● nexus-pos.service - Nexus Autoparts POS
Loaded: loaded (/etc/systemd/system/nexus-pos.service; enabled; preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Sat 2026-04-18 01:56:18 EDT; 4s ago
Invocation: 54c1853247fb4292879389d5351f578e
Process: 15945 ExecStart=/usr/local/bin/gunicorn -w 2 -b 0.0.0.0:5001 --timeout 120 app:app (code=exited, stat>
Main PID: 15945 (code=exited, status=1/FAILURE)
CPU: 386ms
nexus-1@raspberrypi:/home/Autopartes $ systemctl start nexus-pos
nexus-1@raspberrypi:/home/Autopartes $ sudo systemctl status nexus-pos
● nexus-pos.service - Nexus Autoparts POS
Loaded: loaded (/etc/systemd/system/nexus-pos.service; enabled; preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Sat 2026-04-18 01:57:50 EDT; 2s ago
Invocation: 959db685f7da471ba4caa6cdce91bcfe
Process: 16013 ExecStart=/usr/local/bin/gunicorn -w 2 -b 0.0.0.0:5001 --timeout 120 app:app (code=exited, stat>
Main PID: 16013 (code=exited, status=1/FAILURE)
CPU: 419ms
nexus-1@raspberrypi:/home/Autopartes $ sudo journalctl -u nexus-pos -f
abr 18 01:57:55 raspberrypi systemd[1]: nexus-pos.service: Scheduled restart job, restart counter is at 18.
abr 18 01:57:55 raspberrypi systemd[1]: Started nexus-pos.service - Nexus Autoparts POS.
abr 18 01:57:55 raspberrypi gunicorn[16020]: Error: Error: '/var/log/nexus-pos/error.log' isn't writable [FileNotFoundError(2, 'No such file or directory')]
abr 18 01:57:56 raspberrypi systemd[1]: nexus-pos.service: Main process exited, code=exited, status=1/FAILURE
abr 18 01:57:56 raspberrypi systemd[1]: nexus-pos.service: Failed with result 'exit-code'.
abr 18 01:58:01 raspberrypi systemd[1]: nexus-pos.service: Scheduled restart job, restart counter is at 19.
abr 18 01:58:01 raspberrypi systemd[1]: Started nexus-pos.service - Nexus Autoparts POS.
abr 18 01:58:01 raspberrypi gunicorn[16022]: Error: Error: '/var/log/nexus-pos/error.log' isn't writable [FileNotFoundError(2, 'No such file or directory')]
abr 18 01:58:01 raspberrypi systemd[1]: nexus-pos.service: Main process exited, code=exited, status=1/FAILURE
abr 18 01:58:01 raspberrypi systemd[1]: nexus-pos.service: Failed with result 'exit-code'.
abr 18 01:58:06 raspberrypi systemd[1]: nexus-pos.service: Scheduled restart job, restart counter is at 20.
abr 18 01:58:06 raspberrypi systemd[1]: Started nexus-pos.service - Nexus Autoparts POS.
abr 18 01:58:07 raspberrypi gunicorn[16030]: Error: Error: '/var/log/nexus-pos/error.log' isn't writable [FileNotFoundError(2, 'No such file or directory')]
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.