Update README.md
This commit is contained in:
parent
6fdb937445
commit
5ce481e76a
10
README.md
10
README.md
@ -37,6 +37,8 @@ python3 -m venv venv
|
|||||||
venv/bin/pip install -r requirements.txt
|
venv/bin/pip install -r requirements.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## USB Scanner betriebsbereit machen
|
||||||
|
|
||||||
USB-Geräte anzeigen und nach Scanner prüfen:
|
USB-Geräte anzeigen und nach Scanner prüfen:
|
||||||
```
|
```
|
||||||
lsusb -v
|
lsusb -v
|
||||||
@ -67,7 +69,9 @@ systemctl enable usb-scanner.service --now
|
|||||||
journalctl -f -u usb-scanner.service
|
journalctl -f -u usb-scanner.service
|
||||||
```
|
```
|
||||||
|
|
||||||
Datenbank per Shell leeren:
|
## Datenbankoperationen
|
||||||
|
|
||||||
|
**Datenbank per Shell leeren:**
|
||||||
Fedora:
|
Fedora:
|
||||||
```
|
```
|
||||||
sudo dnf install sqlite3
|
sudo dnf install sqlite3
|
||||||
@ -82,7 +86,7 @@ sqlite3 kugelstossmeeting-prod.db "DELETE FROM scans;"
|
|||||||
sqlite3 kugelstossmeeting-test.db "VACUUM;"
|
sqlite3 kugelstossmeeting-test.db "VACUUM;"
|
||||||
```
|
```
|
||||||
|
|
||||||
Datenbank per DB Browser for SQLite bearbeiten/ansehen:
|
**Datenbank per DB Browser for SQLite bearbeiten/ansehen:**
|
||||||
Fedora:
|
Fedora:
|
||||||
```
|
```
|
||||||
sudo dnf install sqlitebrowser
|
sudo dnf install sqlitebrowser
|
||||||
@ -91,7 +95,7 @@ Ubuntu:
|
|||||||
```
|
```
|
||||||
sudo apt install sqlitebrowser
|
sudo apt install sqlitebrowser
|
||||||
```
|
```
|
||||||
GUI starten:
|
## GUI starten
|
||||||
```
|
```
|
||||||
/opt/kugelstossmeeting-ticketing/venv/bin/python3 /opt/kugelstossmeeting-ticketing/sqlite.py
|
/opt/kugelstossmeeting-ticketing/venv/bin/python3 /opt/kugelstossmeeting-ticketing/sqlite.py
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user