Quickstart installation¶
A docker-compose-quickstart.yml file is available to get the app up and
running in minutes. It contains ‘convenience’ settings, which means that no
additional configuration is needed to run the app. Therefore, it should not
be used for anything else than testing. For example, it includes:
A default
SECRET_KEYenvironment variableA predefined database with the environment variable
POSTGRES_HOST_AUTH_METHOD=trust. This lets us connect to the database without using a password.Debug mode is enabled.
Getting started with Docker¶
Download the
docker-composefile:$ wget https://raw.githubusercontent.com/open-formulieren/open-forms/master/docker-compose-quickstart.yml -O docker-compose.yml
PS> wget https://raw.githubusercontent.com/open-formulieren/open-forms/master/docker-compose-quickstart.yml -Odocker-compose.yml
Start the docker containers with
docker-compose. If you want to run the containers in the background, add the-dflag to the command below.$ docker-compose up
Create a super-user.
$ docker-compose exec web src/manage.py createsuperuserNavigate to
http://127.0.0.1:8000and use the credentials created above to log in.