From 19665ea0b7f29113546ea65fe6cb4617b7a5acef Mon Sep 17 00:00:00 2001 From: pierre geeraert Date: Mon, 15 Jun 2026 09:59:43 +0100 Subject: [PATCH] update readme --- README.md | 44 ++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 42 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a946acd..5fcb685 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,49 @@ test ## Getting started -To make it easy for you to get started with GitLab, here's a list of recommended next steps. +### Create virtual env -Already a pro? Just edit this README.md and make it your own. Want to make it easy? [Use the template at the bottom](#editing-this-readme)! +In the main directory, create a virtual env + +``` +python3 -m venv .env +``` + +to activate it : + +``` +source .env/bin/activate +``` + + +### Env variables inside the .env file + +Edit .env/bin/activate + +In the deactivate () function, append at the end: +``` + # unset required variables + unset DB_HOST + unset DB_PORT + unset DB_USERNAME + unset DB_PASSWORD + unset DB_DATABASE + unset ALLOWED_HOSTS + unset DEBUG +``` + +at the end of the file add the DB value for testing: + +``` + export DB_HOST=localhost + export DB_PORT=5432 + export DB_USERNAME=postgres + export DB_PASSWORD=example + export DB_DATABASE=cloudmanager + export CUSTOM_DB_DATABASE=cloudmanager + export ALLOWED_HOSTS="0.0.0.0,localhost,127.0.0.1" + export DEBUG=true +``` ## Add your files