update readme
This commit is contained in:
parent
2cce5e817c
commit
1e36ddc79f
1 changed files with 5 additions and 3 deletions
|
@ -1,14 +1,16 @@
|
||||||
|
|
||||||
1. Install `mkcert` to handle locally trusted SSL certificates.
|
1. Requirements
|
||||||
|
- docker
|
||||||
|
- `mkcert` to handle locally trusted SSL certificates.
|
||||||
|
|
||||||
2. Generate a local certificate which is used for both WordPress and Mobilizon.
|
2. Generate a local certificate which is used for both WordPress and Mobilizon.
|
||||||
```bash
|
```bash
|
||||||
mkcert -install -cert-file certs/lan.pem -key-file certs/lan-key.pem wp.lan mz.lan
|
mkcert -install -cert-file certs/lan.pem -key-file certs/lan-key.pem wp.lan mz.lan
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Add the two dummy domains to your /etc/hosts file:
|
3. Add the two dummy domains to your /etc/hosts file:
|
||||||
```
|
```
|
||||||
127.0.0.1 wp.lan
|
127.0.0.1 wp.lan
|
||||||
127.0.0.1 mz.lan
|
127.0.0.1 mz.lan
|
||||||
|
|
||||||
```
|
```
|
||||||
|
4. Start the docker-container via `docker-compose up -d`
|
||||||
|
|
Loading…
Reference in a new issue