Add contribution page and Docker deployment

This commit is contained in:
achraf
2026-06-02 20:33:09 +02:00
parent be635b1828
commit 4f1af76658
22 changed files with 791 additions and 573 deletions

View File

@@ -32,6 +32,27 @@ npm test
npm run build
```
### Docker
Build and run the static production app with Nginx:
```bash
docker build \
--build-arg VITE_PLIMI_REPO_URL=https://github.com/your-org/plimi \
-t plimi:local .
docker run --rm -p 8080:80 --name plimi plimi:local
```
Or use Docker Compose:
```bash
VITE_PLIMI_REPO_URL=https://github.com/your-org/plimi PLIMI_PORT=8080 docker compose up --build
```
Environment:
- `VITE_PLIMI_REPO_URL`: build-time public repository URL shown on the Contribute page.
- `PLIMI_PORT`: host port used by Docker Compose, default `8080`.
---
## How to Create a Tool (Plugin)