1
0
Fork 0

Add instructions for creating .env file

This commit is contained in:
Jan Dittberner 2020-12-22 05:57:51 +01:00
parent ff5ea7dd39
commit c1f83bf8e9

View file

@ -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
```