Ein Tool zum Erstellen von Hosentaschenkarten für Wettkämpfe im Rhönradturnen.
pocket-papers // Project Root
│
└──.github // GitHub Actions
│
└──backend // Backend
│ │
│ └──.cargo // Cargo configuration
│ │
│ └──backend-server // Actix Server
│ │
│ └──backend-serverd // Daemon
│ │
│ └──external // Third-party tools
│ │
│ └──rust-rpxy // Reverse Proxy Tool
│ │
│ └──typst // Typst (PDF Compiler)
│
└──components // Shared frontend components
│ │
│ └──meta // HTML Head Component
│ │
│ └──navbar // NavBar component
│
└──islands // Islands (require JavaScript)
│ │
│ └──data // Form and Importer Components
│ │
│ └──primitives // Input Wrapper Components
│ │
│ └──table // Main Table Component
│
└──res // Development Resources
│
└──static // Statically served files
│
└──utils // Shared Preact-Signals file- Deno (^2.2.3)
deno task start
-
Arial.ttf -
Arial Bold.ttf -
Arial Black.ttf -
TwitterColorEmoji-SVGinOT.tff3
cd backend/backend-serverd && cargo build --release
Build first, see above!
mkdir -p $HOME/.local/share 2
./backend-serverd
-
Permission Denied: OSError 13
- rust-rpxy (
rpxy) will bind to lower ports (i.e, 80 for HTTP and 443 for HTTPS), which is a priviledged operation on most UNIX-like systems. On Linux the tool can be whitelisted explicitly:sudo setcap CAP_NET_BIND_SERVICE=+eip ./rpxy. Depending on the system, the host daemon might need to be whitelisted as well:sudo setcap CAP_NET_BIND_SERVICE=+eip ./backend-serverd.
- rust-rpxy (
-
No such file or directory: OSError 2
- On Linux, the daemon and the backend-server expects that the user data dir exists. Ensure that you run
mkdir -p $HOME/.local/sharebefore launching the daemon or the backend-server.
- On Linux, the daemon and the backend-server expects that the user data dir exists. Ensure that you run
-
There is no STDOUT and STDERR in the tty
- STDOUT and STDERR of the backend-server are rerouted to a text file by default (persisted logging). The file is located in
<DATA_DIR>/Logs.
- STDOUT and STDERR of the backend-server are rerouted to a text file by default (persisted logging). The file is located in
-
The created pocket paper does not look right
typst-cliexpects thatArial.ttf,Arial Bold.ttf,Arial Black.ttfandTwitterColorEmoji-SVGinOT.tff3 are installed on the server. Install these fonts, reload the font-cache and everything should be working.