update readme, disallow postinstall scripts in npm install

This commit is contained in:
vincent 2026-06-07 13:40:49 +02:00
parent 57ddb6df93
commit 7e347a2b5c
2 changed files with 2 additions and 19 deletions

View file

@ -6,7 +6,7 @@ RUN npm install -g pnpm
COPY package.json pnpm-lock.yaml* ./ COPY package.json pnpm-lock.yaml* ./
RUN pnpm install RUN pnpm install --ignore-scripts
COPY . . COPY . .

View file

@ -27,27 +27,10 @@ il faut un fichier .env spécifiant les variables suivantes:
### sur le vps ### sur le vps
pour déployer sur le vps, on utilise podman à la place de docker
il faut donc remplacer docker par podman pour build l'image
le lancement est chelou, pour l'instant on le fait en passant par un service systemd:
d'abord créer le container
```bash ```bash
podman create --name urlab_viaduk --rm --env-file .env urbridge:latest podman run --network host -d --name urlab_viaduk --rm --env-file .env urbridge:latest
``` ```
puis créer le service:
```bash
podman generate systemd --name urlab_viaduk > /etc/systemd/system/urlab_viaduk.service
systemctl start urlab_viaduk
```
il faut potentiellement stop le service précédent et faire un `systemctl daemon-reload` une fois recréé
### Matrix ### Matrix
pour regénérer un token: pour regénérer un token: