diff --git a/README.md b/README.md index dd6f47c..10a7a11 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,13 @@ python3 -m pip install --user -U docker-compose ## Usage + +```shell +git clone https://git.dittberner.info/jan/cacert-devsetup.git +cd cacert-devsetup +mr checkout +``` + Create a .env file that defines the following variables Variable | Usage @@ -30,9 +37,7 @@ Variable | Usage `MYSQL_APP_PASSWORD` | Database application password ```shell -git clone https://git.dittberner.info/jan/cacert-devsetup.git -cd cacert-devsetup -mr checkout +echo -e "MYSQL_ROOT_PASSWORD=$(openssl rand -base64 18)\nMYSQL_APP_USER=cacert_dev\nMYSQL_APP_PASSWORD=$(openssl rand -base64 18)" > .env ./setup_test_ca.sh docker-compose up ```