forked from jan/cacert-devsetup
Add instructions for creating .env file
This commit is contained in:
parent
ff5ea7dd39
commit
c1f83bf8e9
1 changed files with 8 additions and 3 deletions
11
README.md
11
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
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue