docs: Omgevingsbestanden

This commit is contained in:
Tibo De Peuter 2025-04-03 08:52:23 +02:00
parent 8a0b4b62a7
commit 86b3e0e4c4
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
2 changed files with 4 additions and 6 deletions

View file

@ -35,12 +35,8 @@ Om de applicatie lokaal te draaien als kant-en-klare Docker-containers:
```bash ```bash
docker compose version docker compose version
git clone https://github.com/SELab-2/Dwengo-1.git git clone https://github.com/SELab-2/Dwengo-1.git
cd Dwengo-1/backend
cp .env.example .env
# Pas .env aan
nano .env
cd ..
docker compose -f compose.staging.yml up --build docker compose -f compose.staging.yml up --build
# Gebruikt backend/.env.staging
``` ```
### Handmatige installatie en ontwikkeling ### Handmatige installatie en ontwikkeling

View file

@ -34,7 +34,9 @@ npm run test:unit
```shell ```shell
# Omgevingsvariabelen # Omgevingsvariabelen
cp .env.development.example .env cp .env.example .env
# Configureer de .env file met de juiste waarden!
nano .env
npm run build npm run build
npm run start npm run start