From 9b44f69eae321bf6bb24a177a0c1fa50d0310ecf Mon Sep 17 00:00:00 2001 From: Ricardo Paes Date: Tue, 15 Feb 2022 15:04:52 -0300 Subject: [PATCH] Enhancing README.md using docker --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index b7144ec..a472776 100644 --- a/README.md +++ b/README.md @@ -426,6 +426,12 @@ After defining the variables, run the following command: docker-compose up -d --build ``` +On the `first` run it will be necessary to seed the database tables using the following command: + +```bash +docker-compose exec backend npx sequelize db:seed:all +``` + #### SSL Certificate To deploy the ssl certificate, add it to the `ssl/certs` folder. Inside it there should be a `backend` and a `frontend` folder, and each of them should contain the files `fullchain.pem` and `privkey.pem`, as in the structure below: