29 lines
692 B
Markdown
29 lines
692 B
Markdown
# dwengo-1-backend
|
|
|
|
## Project setup
|
|
|
|
```shell
|
|
npm install
|
|
```
|
|
|
|
Setup the environment variables in a `.env` file in the root of the project. You can use the `.env.example` file as a template.
|
|
|
|
### Development
|
|
|
|
```shell
|
|
npm run dev
|
|
```
|
|
|
|
### Production
|
|
|
|
```shell
|
|
npm run build
|
|
npm run start
|
|
```
|
|
|
|
## Keycloak configuratie
|
|
|
|
Tijdens development is het voldoende om gebruik te maken van de keycloak configuratie die automatisch ingeladen wordt.
|
|
|
|
Voor productie is het ten sterkste aangeraden om keycloak manueel te configureren.
|
|
Voor meer informatie, zie de [administrator-handleiding](https://github.com/SELab-2/Dwengo-1/wiki/Administrator:-Productie-omgeving#installatie-en-server-configuratie).
|