Merge branch 'main' of https://gitea.fablabchemnitz.de/vmario/kugelstossmeeting-ticketing
This commit is contained in:
commit
3ae5f60f00
16
README.md
16
README.md
@ -37,6 +37,8 @@ python3 -m venv venv
|
||||
venv/bin/pip install -r requirements.txt
|
||||
```
|
||||
|
||||
## USB Scanner betriebsbereit machen
|
||||
|
||||
USB-Geräte anzeigen und nach Scanner prüfen:
|
||||
```
|
||||
lsusb -v
|
||||
@ -67,7 +69,9 @@ systemctl enable usb-scanner.service --now
|
||||
journalctl -f -u usb-scanner.service
|
||||
```
|
||||
|
||||
Datenbank per Shell leeren:
|
||||
## Datenbankoperationen
|
||||
|
||||
**Datenbank per Shell leeren:**
|
||||
Fedora:
|
||||
```
|
||||
sudo dnf install sqlite3
|
||||
@ -82,7 +86,7 @@ sqlite3 kugelstossmeeting-prod.db "DELETE FROM scans;"
|
||||
sqlite3 kugelstossmeeting-test.db "VACUUM;"
|
||||
```
|
||||
|
||||
Datenbank per DB Browser for SQLite bearbeiten/ansehen:
|
||||
**Datenbank per DB Browser for SQLite bearbeiten/ansehen:**
|
||||
Fedora:
|
||||
```
|
||||
sudo dnf install sqlitebrowser
|
||||
@ -91,10 +95,16 @@ Ubuntu:
|
||||
```
|
||||
sudo apt install sqlitebrowser
|
||||
```
|
||||
GUI starten:
|
||||
## GUI starten
|
||||
```
|
||||
/opt/kugelstossmeeting-ticketing/venv/bin/python3 /opt/kugelstossmeeting-ticketing/sqlite.py
|
||||
```
|
||||
|
||||
... oder
|
||||
```
|
||||
/opt/kugelstossmeeting-ticketing/sqlite.py #siehe python3 Header
|
||||
```
|
||||
|
||||
... oder die .desktop-Verknüpfung benutzen
|
||||
|
||||
## Notwendig für den Betrieb
|
||||
|
Loading…
x
Reference in New Issue
Block a user