Quickstart
A simple docker-compose.yml file is available to get the APIs
up and running in minutes. This file has some convenience settings to get
started quickly and these should never be used for anything besides testing:
A default secret is set in the
SECRET_KEYenvironment variable.A predefined database and database account is used.
API authorizations are disabled.
With the above remarks in mind, let’s go:
Referentielijsten
Create a project folder:
$ mkdir referentielijsten $ cd referentielijsten
Download the
docker-composefile:$ wget https://raw.githubusercontent.com/maykinmedia/referentielijsten/master/docker-compose.yml
PS> wget https://raw.githubusercontent.com/maykinmedia/referentielijsten/master/docker-compose.yml
Start the Docker containers:
$ docker compose -f docker-compose-qs.yml up -d --no-build
Create a superuser
$ docker compose exec web src/manage.py createsuperuser