doc(readme): added example to start it locally with simulated domain

darta 2021-12-28 09:49:58 +01:00
parent 399012c5f3
commit 1b09b87708
1 changed files with 9 additions and 2 deletions

View File

@ -118,8 +118,7 @@ Refer to the official documentation (https://docs.docker.com/compose/install/) o
### Setup
Copy digitaldemocratic.conf.sample to digitaldemocratic.conf and edit to satisfy your needs. At least (to development) you should adapt
the DOMINI envvar to your root domain.
Copy digitaldemocratic.conf.sample to digitaldemocratic.conf and edit to satisfy your needs. At least (to development) you should adapt the DOMINI envvar to your root domain.
- PRODUCTION: You'll need a multidomain dns (or redirect all the subdomains) to your server IP.
- DEVELOPMENT: You'll have to edit your /etc/hosts and add all the required domains to your development server IP.
@ -134,6 +133,14 @@ the DOMINI envvar to your root domain.
- Etherpad: pad.<yourdomain.org>
- (optional) FreeIPA: ipa.<yourdomain.org>
NOTE: To test it in your computer without a domain you'll need to simulate a domain and set it in digitaldemocratic.conf and then add to your /etc/hosts this subdomains to your IP.
For example:
```
echo '192.168.0.5 mydomain.org admin.mydomain.org nextcloud.mydomain.org moodle.mydomain.org sso.mydomain.org api.mydomain.org wp.mydomain.org pad.mydomain.org oof.mydomain.org' >> /etc/hosts
```
### Customization
Recursively copy the *custom.sampl* folder to *custom* and edit the yaml personalization files and substitute the image.