fix front pagination and search

This commit is contained in:
Julien Aldon
2026-01-13 15:26:11 +01:00
parent 959d4e7281
commit d5fc8142b2
5 changed files with 29 additions and 29 deletions

View File

@@ -3,27 +3,22 @@ Ce projet est un gestionnaire de base de données pour la bibliotèque de la mai
L'outil permet l'ajout, la modification, la suppression et de consulter les livres présents dans la base de donnée.
## Deploiement
## Développement local
### Avec Docker Compose
```sh
docker-compose up --build -d
docker compose -f docker-compose.dev.yml down -v
docker compose -f docker-compose.dev.yml up
# Init database
# Init database (if database not initialized)
docker-compose exec database mariadb -u root -p
$>source /docker-entrypoint-initdb.d/*.sql
# SSL https://certbot-dns-ovh.readthedocs.io/en/stable/
# Create certificates
certbot certonly --dns-ovh --dns-ovh-credentials ~/.secrets/certbot/ovh.ini -d home.aldon.fr
```
# Set env variables inside secrets action
## Déploiement
```sh
SERVICE_ORIGIN
DB_HOST
SERVICE_SECRET_KEY
MARIADB_USER
MARIADB_PASSWORD
MARIADB_ROOT_PASSWORD
MARIADB_DATABASE
```
# SSL https://certbot-dns-ovh.readthedocs.io/en/stable/
# Create certificates
certbot certonly --dns-ovh --dns-ovh-credentials ~/.secrets/certbot/ovh.ini -d bookshelf.aldon.fr
```
## TODO
Change `front/src/config.js` : Variabilize `ROOT_FQDN`