811 B
811 B
- Requirements
make
docker
anddocker-compose
mkcert
to handle locally trusted SSL certificates.
- Clone Mobilizon source
cd mobilizon && git clone https://framagit.org/framasoft/mobilizon.git
- Generate a local certificate which is used for both WordPress and Mobilizon.
mkcert -install -cert-file certs/lan.pem -key-file certs/lan-key.pem wp.lan mz.lan
- Add the two dummy domains to the /etc/hosts file on your machine:
127.0.0.1 wp.lan
127.0.0.1 mz.lan
-
Build Mobilizon via running
make setup
-
Start the docker containers via
make start
-
Go to http://wp.lan and setup WordPress
-
Create an administrator user for Mobilizon
docker-compose exec mobilizon mix mobilizon.users.new "your@email.com" --admin --password "mypassword"