fix front pagination and search
This commit is contained in:
27
README.md
27
README.md
@@ -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`
|
||||
Reference in New Issue
Block a user