add init data step to README

This commit is contained in:
Son NK 2020-07-06 11:05:26 +02:00
parent 7ab04b030e
commit 81bc11bd8c
1 changed files with 13 additions and 0 deletions

View File

@ -486,6 +486,19 @@ sudo docker run --rm \
This command could take a while to download the `simplelogin/app` docker image.
Init data
```bash
sudo docker run --rm \
--name sl-init \
-v $(pwd)/sl:/sl \
-v $(pwd)/simplelogin.env:/code/.env \
-v $(pwd)/dkim.key:/dkim.key \
-v $(pwd)/dkim.pub.key:/dkim.pub.key \
--network="sl-network" \
simplelogin/app:3.2.2 python init_app.py
```
Now, it's time to run the `webapp` container!
```bash