Commit c9b8a3ec authored by Florent Chehab's avatar Florent Chehab

docs: updated prod related content

* Website is now operated from a separate user `rex-dri`
parent f0f6773e
Pipeline #64414 passed with stages
in 4 minutes and 10 seconds
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment