From 6fd624e1b08a15938c3d6ada8bacac131afe2a5a Mon Sep 17 00:00:00 2001 From: "Julien Richard [RMT - JS] Wild Code School" <33219171+jujuck@users.noreply.github.com> Date: Mon, 11 Mar 2024 16:00:08 +0100 Subject: [PATCH] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a783cc7a..de002198 100644 --- a/README.md +++ b/README.md @@ -73,8 +73,9 @@ The database is automaticaly deployed with the name of your repo. During the bui Don't use any public folder on your client. This folder won't be accessible online. You may move your public assets in the `server/public` folder. Prefer [static assets](https://vitejs.dev/guide/assets) when possible. -### About specifi environnement variable (as email) -Students should use the template written in the *.env.sample* file as =. (WARNING : Project_name should be the same as in the git public variable.) +### About specific environnement variable (as email) +Students should use the template written in the *.env.sample* file as =. +> ⚠️ Warning :Project_name should be the same as in the git public variable. To add it on deploiement, you have 2 steps to do : - Add the following variable in the *docker-compose.prod.yml* file (as in the example : PROJECT_NAME_SPECIFIC_NAME: ${PROJECT_NAME_SPECIFIC_NAME}. - Connect with ssh to your server. Open the global *.env* file on traefik (`nano ./traefik/data/.env`). Add the variable with the correct value and save.