Quick and dirty deployment configuration.
- Clone
fairplay_server
project in this projects directory. - Clone
FairplayKSM
intofairplay_server/docker
as mentioned in the readme offairplay_server
. - Run the following command to get a Djano secret key:
docker run --rm django python -c "from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())"
- Copy
.env.example
to.env
and fill out all empty settings. - Put the private key at
secrets/dev_private_key.pem
- Put the ASK at
secrets/ask
docker-compose up -d