Verified Commit 93e87840 authored by Jakob Moser's avatar Jakob Moser
Browse files

Get everything ready for uv

parent 7ae4e114
Loading
Loading
Loading
Loading
+5 −8
Original line number Diff line number Diff line
@@ -239,9 +239,12 @@ Clone the repository and set everything up:

```bash
git clone https://gitlab.cl.uni-heidelberg.de/moser/poolpay.git
cd /coli/poolpay
sudo apt install python3-dev  # to compile evdev, which is a requirement
sudo chown poolpay:poolpay /coli/poolpay

sudo su poolpay
cd /coli/poolpay
curl -LsSf https://astral.sh/uv/install.sh | sh
```

As last step, deploy the systemd unit:
@@ -253,17 +256,11 @@ sudo systemctl enable poolpay

Reboot. The application should start automatically.

You now need to provide it with a password to create (or, at later starts, unlock) the vault:
You could now also launch tools, e.g., the card interfacing tool:

```bash
sudo su poolpay
cd /coli/poolpay
uv run -m poolpay.admin unlock
```

You could also, for example, run the card interfacing tool:

```bash
uv run -m poolpay.card id
```

+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
Description=PoolPay

[Service]
ExecStart=/coli/poolpay/venv/bin/python3 -m poolpay
ExecStart=/home/poolpay/.local/bin/uv run -m poolpay
WorkingDirectory=/coli/poolpay
User=poolpay
Restart=always