diff --git a/documentation/ProdRelated/releasing.md b/documentation/ProdRelated/releasing.md index a8880fa7545cb9e1ba31437a23a4a6aac5bdf602..6ad329c2a03f6f64f97f89408a253eec8d724975 100644 --- a/documentation/ProdRelated/releasing.md +++ b/documentation/ProdRelated/releasing.md @@ -22,12 +22,18 @@ Step by step, how to create a release: Connect to the REX-DRI VM +Connect to the REX-DRI user: + +```bash +sudo su - rex-dri +``` + !> :warning: In the current setup, you need to sudo every command - Down the website ```bash -cd ~/rex-dri +cd ~/apps/rex-dri make down_prod ``` @@ -52,7 +58,7 @@ service docker start - Restart the API on top of the DSI data base ```bash -cd api-db-utc +cd ~/apps/api-db-utc make prod # Check it's running curl localhost:8083/api/courses/chehabfl @@ -61,7 +67,7 @@ curl localhost:8083/api/courses/chehabfl - Update the rex-dri repository ```bash -cd ~/rex-dri +cd ~/apps/rex-dri git pull # You should be on the master branch git status