Skip to content
Snippets Groups Projects
Commit 773af81b authored by David Huss's avatar David Huss :speech_balloon:
Browse files

Add section about architecture to the README

parent 778cc522
Branches
No related tags found
No related merge requests found
...@@ -6,7 +6,16 @@ mediactl sports a touchscreen that allows control of the media technology in tha ...@@ -6,7 +6,16 @@ mediactl sports a touchscreen that allows control of the media technology in tha
![Image of the rack](images/rack-perspective.jpg) ![Image of the rack](images/rack-perspective.jpg)
## service ## architecture
There is a fastapi web service (`localhost:8000`) running behind an nginx reverse proxy that exposes it to the world. The service has a systemd unit file located at `/etc/systemd/system` (see section below).
The touchpanel is started with raspi-autologin and the `.xinit` file located in the `d0` user directory (see section below). The files of the running webservice are located at `/home/d0/mediactl` (see section below for hints if you want to edit those files).
## autostart on RPI
See [this](https://blog.r0b.io/post/minimal-rpi-kiosk/) for a description of how to start chromium via `/home/d0/.xinit` – note: this file contains the screen blanking settings (`xset s 600 0` )
## systemd service
**Check Service Status** **Check Service Status**
```bash ```bash
...@@ -20,10 +29,6 @@ sudo systemctl restart mediactl.service ...@@ -20,10 +29,6 @@ sudo systemctl restart mediactl.service
## autostart on RPI
See [this](https://blog.r0b.io/post/minimal-rpi-kiosk/) for a description of how to start chromium via `/home/d0/.xinit` – note: this file contains the screen blanking settings (`xset 600 0` )
## note about apt ## note about apt
In `/etc/apt/apt.conf.d/proxy.conf` there is a proxy connection setup: In `/etc/apt/apt.conf.d/proxy.conf` there is a proxy connection setup:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment