Compare commits
2 commits
c1f04bb58f
...
da92204027
| Author | SHA1 | Date | |
|---|---|---|---|
| da92204027 | |||
| 4f2b3853b5 |
6 changed files with 8 additions and 31 deletions
Binary file not shown.
Binary file not shown.
BIN
3d-print/led-matrix-mount.FCStd
Normal file
BIN
3d-print/led-matrix-mount.FCStd
Normal file
Binary file not shown.
Binary file not shown.
24
README.md
24
README.md
|
|
@ -7,13 +7,7 @@
|
||||||
# Benutzung
|
# Benutzung
|
||||||
|
|
||||||
- als **root** ausführen
|
- als **root** ausführen
|
||||||
- gunicorn -b 0.0.0.0 -w 1 -k gthread main:app
|
- gunicorn -w 1 -k gthread main:app
|
||||||
|
|
||||||
# Beim Booten starten
|
|
||||||
|
|
||||||
- Kopiere die systemd/matrix.service nach /etc/systemd/service/
|
|
||||||
- systemctl daemon-reload
|
|
||||||
- systemctl enable --now matrix
|
|
||||||
|
|
||||||
# Dateien
|
# Dateien
|
||||||
|
|
||||||
|
|
@ -44,15 +38,13 @@ Für deutsche Ausgabe (z.B. den Monatsnamen):
|
||||||
|
|
||||||
# Szenen
|
# Szenen
|
||||||
|
|
||||||
- curl "http://localhost:8000/start/color?red=255&green=255&blue=255"
|
curl "http://localhost:8000/start/color?red=255&green=255&blue=255"
|
||||||
- curl http://localhost:8000/start/bitcoin
|
curl http://localhost:8000/start/bitcoin
|
||||||
- curl http://localhost:8000/start/clock
|
curl http://localhost:8000/start/clock
|
||||||
- curl http://localhost:8000/start/colorclock
|
curl http://localhost:8000/start/colorclock
|
||||||
- curl http://localhost:8000/start/helloworld
|
curl http://localhost:8000/start/helloworld
|
||||||
- curl http://localhost:8000/start/scroll
|
curl http://localhost:8000/stop
|
||||||
- curl http://localhost:8000/start/piamedia
|
curl http://localhost:8000/reset
|
||||||
- curl http://localhost:8000/stop
|
|
||||||
- curl http://localhost:8000/reset
|
|
||||||
|
|
||||||
# Entwicklung ohne Matrix-Display
|
# Entwicklung ohne Matrix-Display
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,15 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=Matrix Flask Application
|
|
||||||
After=network.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=simple
|
|
||||||
WorkingDirectory=/opt/matrix
|
|
||||||
ExecStart=/usr/bin/gunicorn -b 0.0.0.0 -w 1 -k gthread main:app
|
|
||||||
Restart=always
|
|
||||||
RestartSec=5s
|
|
||||||
User=root
|
|
||||||
Group=root
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue