[FEAT] Admin / ajout d'une partition doit pouvoir ajouter le numero dans

le PDF. #1
This commit is contained in:
NADAL Jean-Baptiste
2026-02-25 18:31:41 +01:00
parent cf0db69f2d
commit 38bfe62eec
14 changed files with 509 additions and 25 deletions

View File

@@ -1,11 +1,43 @@
# OHMJ - Harmonie de Montpellier-Jacou
Site web de l'Harmonie de Montpellier-Jacou pour la gestion et le partage de partitions de musique.
https://codeofaninja.com/2017/02/create-simple-rest-api-in-php.html
## Fonctionnalités
https://vuejsdevelopers.com/2020/07/29/bootstrap-vue/
- **Gestion des partitions** : Ajout, modification et suppression de partitions
- **Upload PDF** : Upload de fichiers PDF avec options de watermark (numéro de partition)
- **Consultation** : Visualisation des partitions par instrument, pièce et version
- **Interface admin** : Tableau de bord pour la gestion du catalogue
## Stack technique
to avoid:
Error: ENOSPC: System limit for number of file watchers reached, watch '
- **Frontend** : SvelteKit
- **Backend** : PHP API REST
- **Stockage** : Fichiers (PDF) dans le répertoire `legacy/Scores/`
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
## Installation
### Backend
```bash
cd api
php -c php-upload.ini -S localhost:8000 router.php
```
### Frontend
```bash
cd partitions
npm install
npm run dev
```
## Déploiement
```bash
./deploy/deploy.sh
```
## Licence
GPL v2