Merge branch 'main' of https://gitea.fablabchemnitz.de/vmario/kugelstossmeeting-ticketing
This commit is contained in:
commit
d3b5a95874
@ -69,9 +69,16 @@ systemctl enable usb-scanner.service --now
|
||||
journalctl -f -u usb-scanner.service
|
||||
```
|
||||
|
||||
## Codes scannen
|
||||
Folgende Codes scannen wir ein, um den Scanner korrekt zu konfigurieren:
|
||||
![QR Code Config](qrcodes.png)
|
||||
|
||||
**Der Scanner kann zurückgesetzt werden, indem wir ihn per QR Code ausschalten und vom USB-Port trennen.**
|
||||
|
||||
## Datenbankoperationen
|
||||
|
||||
**Datenbank per Shell leeren:**
|
||||
|
||||
Fedora:
|
||||
```
|
||||
sudo dnf install sqlite3
|
||||
@ -80,6 +87,7 @@ Ubuntu:
|
||||
```
|
||||
sudo apt install sqlite3
|
||||
```
|
||||
|
||||
```
|
||||
sqlite3 kugelstossmeeting-prod.db "DELETE FROM tickets;"
|
||||
sqlite3 kugelstossmeeting-prod.db "DELETE FROM scans;"
|
||||
@ -87,6 +95,7 @@ sqlite3 kugelstossmeeting-test.db "VACUUM;"
|
||||
```
|
||||
|
||||
**Datenbank per DB Browser for SQLite bearbeiten/ansehen:**
|
||||
|
||||
Fedora:
|
||||
```
|
||||
sudo dnf install sqlitebrowser
|
||||
|
Loading…
x
Reference in New Issue
Block a user