update Readme

This commit is contained in:
André Menrath 2024-07-05 11:27:29 +02:00
parent dea36991e3
commit a5d02dd0e4
3 changed files with 12 additions and 2 deletions

View file

@ -1 +1,3 @@
Mobilizon
Gancio
gancio

View file

@ -1,5 +1,6 @@
{
"cSpell.words": [
"gancio",
"mobilizon"
]
}

View file

@ -13,6 +13,7 @@ git clone https://code.event-federation.eu/Event-Federation/docker.git docker &&
```
### 2. Clone Mobilizon source relative to this repo
We serve Mobilizon from source, because the latest patches needed are not included in the latest official Docker image.
```bash
git clone https://framagit.org/framasoft/mobilizon.git mobilizon/mobilizon
```
@ -20,13 +21,16 @@ git clone https://framagit.org/framasoft/mobilizon.git mobilizon/mobilizon
### 3. Generate a SSL-cert
Generate a local SSL-certificate which is used for both WordPress and Mobilizon.
```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 ga.lan
```
### 4. Add the two dummy domains to the /etc/hosts file on your machine:
`wp`: WordPress, `mz`: Mobilizon, `ga`: gancio
```
127.0.0.1 wp.lan
127.0.0.1 mz.lan
127.0.0.1 ga.lan
```
### 5. Build Mobilizon
@ -45,7 +49,10 @@ Currently this has to be done manually:
make mobilizon_admins
```
### 9. Start developing and debugging
### 9. Create an administrator user for Gancio
Just navigate to https://ga.lan. The first user registered will be site-administrator.
### 10. Start developing and debugging
Get the logs via
- `docker-compose logs -f <container_name>`
- `make logs`