update readme
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4m22s

This commit is contained in:
pierre geeraert
2026-06-15 09:59:43 +01:00
parent 17d2f3544c
commit 19665ea0b7
+42 -2
View File
@@ -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