... | ... | @@ -83,6 +83,19 @@ Suivre [ce lien](https://forge.grandlyon.com/web-et-numerique/pamn_plateforme-de |
|
|
|
|
|
### 9) Initialisation des comptes de test locaux et des articles de test
|
|
|
|
|
|
Avant de pouvoir initialiser la BDD ghost, il faut créer un token admin. Pour cela se rendre sur le lien suivant : http://localhost:2368/ghost/#/settings/integrations
|
|
|
|
|
|
Ajouter une intégration en appuyant sur le bouton prévu :
|
|
|
|
|
|
![image](uploads/1f9ced7c84243c195d633b617fba68e5/image.png)
|
|
|
|
|
|
|
|
|
![image](uploads/b455dfb503b538e108760cb68e57b164/image.png)
|
|
|
|
|
|
Reporter le token et la clé admin dans le fichier `.env`
|
|
|
|
|
|
![image](uploads/32b59355ed450a25f20275380b4b15db/image.png)
|
|
|
|
|
|
Depuis le dossier du backend, lancer les scripts suivant :
|
|
|
```sh
|
|
|
node ./scripts/init-db.js
|
... | ... | |