fix: minor README issues and formatting

This commit is contained in:
Benjamin Linus Witzerstorfer 2024-07-05 12:34:20 +02:00
parent a5d02dd0e4
commit 6305f8e8eb

View file

@ -21,6 +21,7 @@ git clone https://framagit.org/framasoft/mobilizon.git mobilizon/mobilizon
### 3. Generate a SSL-cert ### 3. Generate a SSL-cert
Generate a local SSL-certificate which is used for both WordPress and Mobilizon. Generate a local SSL-certificate which is used for both WordPress and Mobilizon.
```bash ```bash
mkdir certs
mkcert -install -cert-file certs/lan.pem -key-file certs/lan-key.pem wp.lan mz.lan ga.lan mkcert -install -cert-file certs/lan.pem -key-file certs/lan-key.pem wp.lan mz.lan ga.lan
``` ```
@ -30,11 +31,15 @@ mkcert -install -cert-file certs/lan.pem -key-file certs/lan-key.pem wp.lan mz.l
127.0.0.1 wp.lan 127.0.0.1 wp.lan
127.0.0.1 mz.lan 127.0.0.1 mz.lan
127.0.0.1 ga.lan 127.0.0.1 ga.lan
``` ```
### 5. Build Mobilizon ### 5. Build Mobilizon
`make mobilizon_setup` ```
make mobilizon
# Create an administrator user for Mobilizon
make mobilizon_admins
```
### 6. Start the docker containers ### 6. Start the docker containers
`make start` `make start`
@ -44,15 +49,11 @@ Currently this has to be done manually:
- Go to https://wp.lan and enter dummy credentials. - Go to https://wp.lan and enter dummy credentials.
- Install the WordPress plugins you need. - Install the WordPress plugins you need.
### 8. Create an administrator user for Mobilizon
```
make mobilizon_admins
```
### 9. Create an administrator user for Gancio ### 8. Create an administrator user for Gancio
Just navigate to https://ga.lan. The first user registered will be site-administrator. Just navigate to https://ga.lan. The first user registered will be site-administrator.
### 10. Start developing and debugging ### 9. Start developing and debugging
Get the logs via Get the logs via
- `docker-compose logs -f <container_name>` - `docker-compose logs -f <container_name>`
- `make logs` - `make logs`