diff --git a/.gitignore b/.gitignore index b3e1e3b..823457b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ digitaldemocratic.conf *.yml **/*.yaml +custom/ diff --git a/README.md b/README.md index 6075fb3..9fe3189 100644 --- a/README.md +++ b/README.md @@ -30,11 +30,17 @@ See `docs` directory for Markdown files or the [auto-built site](https://digital ## Quick start ``` -cp digitaldemocratic.conf.example digitaldemocratic.conf +cp digitaldemocratic.conf.sample digitaldemocratic.conf ``` Edit digitaldemocratic.conf file variables to suit your needs. +``` +cp -R custom.sample custom +``` + +Edit and replace files to personalize system. + ``` make up ``` @@ -81,6 +87,10 @@ Copy digitaldemocratic.conf.example to digitaldemocratic.conf and edit to suit y - Onlyoffice: oof. - Etherpad: pad. +### Personalization + +Copy recursively the custom.sample folder to custom and edit the menu yaml files and replace images. + ### Bring the project up ``` make up diff --git a/custom/img/background.png b/custom.sample/img/background.png similarity index 100% rename from custom/img/background.png rename to custom.sample/img/background.png diff --git a/custom/img/logo.png b/custom.sample/img/logo.png similarity index 100% rename from custom/img/logo.png rename to custom.sample/img/logo.png diff --git a/custom/login/background.png b/custom.sample/login/background.png similarity index 100% rename from custom/login/background.png rename to custom.sample/login/background.png diff --git a/custom/login/logo.png b/custom.sample/login/logo.png similarity index 100% rename from custom/login/logo.png rename to custom.sample/login/logo.png diff --git a/custom/login/style.css b/custom.sample/login/style.css similarity index 100% rename from custom/login/style.css rename to custom.sample/login/style.css diff --git a/custom/menu/custom.yaml.example b/custom/menu/custom.yaml.example deleted file mode 100644 index 91f3714..0000000 --- a/custom/menu/custom.yaml.example +++ /dev/null @@ -1,32 +0,0 @@ ---- -background_login: /img/background.png -colours: - background: "#F0F0F0" - primary: "#92AE01" - secondary: "#FFFFFF" -logo: /img/logo.png -apps_external: -- href: https://myweb - icon: fa fa-university - name: Escola Web - shortname: web -- href: https://myvideos - icon: fa fa-youtube-play - name: Youtube - shortname: youtube -- href: https://mydictionary - icon: fa fa-book - name: Diccionari - shortname: diccionari -- href: http://meet.jit.si - icon: fa fa-video-camera - name: Reunions Jitsi - shortname: jitsi -- href: https://www.duckduckgo.com - icon: fa fa-search - name: Cercar - shortname: search -- href: https://www.openstreetmap.org - icon: fa fa-map-marker - name: Maps - shortname: maps diff --git a/custom/menu/system.yaml.example b/custom/menu/system.yaml.example deleted file mode 100644 index 226fd04..0000000 --- a/custom/menu/system.yaml.example +++ /dev/null @@ -1,55 +0,0 @@ -apps_internal: -- subdomain: nextcloud - href: / - icon: fa fa-cloud - name: Núvol + crear arxius - shortname: cloud -- subdomain: nextcloud - href: /apps/mail/setup - icon: fa fa-envelope-o - name: Correu - shortname: email -- subdomain: pad - href: / - icon: fa fa-file-text-o - name: Pads - shortname: pads -- subdomain: nextcloud - href: /apps/forms - icon: fa fa-check-square-o - name: Formularis - shortname: forms -- subdomain: nextcloud - href: /apps/polls - icon: fa fa-bar-chart - name: Enquestes - shortname: feedback -- subdomain: nextcloud - href: /apps/spreed - icon: fa fa-commenting-o - name: Xat - shortname: chat -- subdomain: nextcloud - href: /apps/calendar - icon: fa fa-calendar - name: Calendari - shortname: schedule -- subdomain: wp - href: /wp-login.php?saml_sso - icon: fa fa-rss - name: Webs - shortname: webs -- subdomain: nextcloud - href: /apps/bbb - icon: fa fa-video-camera - name: Reunions BBB - shortname: meets_bbb -- subdomain: nextcloud - href: /apps/photos - icon: fa fa-file-image-o - name: Fotos - shortname: photos -user: - account: /auth/realms/master/account - avatar: /auth/realms/master/avatar-provider - password: /auth/realms/master/password diff --git a/digitaldemocratic.conf.example b/digitaldemocratic.conf.sample similarity index 100% rename from digitaldemocratic.conf.example rename to digitaldemocratic.conf.sample