diff --git a/.drone.yml b/.drone.yml index d25229a..26223fe 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,6 +10,18 @@ kind: secret name: P4PILLON_AWS_SECRET_ACCESS_KEY data: 58Boc2Ux7MKwvh1nHh2xmY4JEje5CyX0/H/z6tM/ehLD1m4WQKblvc/+PX0DcaFqX86JPG8osLRsglkP9pyW7iH5WwuMQcXR/NzOAJioO+xgrh/14qUCYe+N5Yc= +--- +# drone encrypt ResiLien/portails $AWS_ACCESS_KEY_ID +kind: secret +name: LAMELIO_AWS_ACCESS_KEY_ID +data: dUmshCdmcB0zhzC99eDo/stA8bLtJJyoEMUgW/ctEIbv6dAyD3k1YYExCuqW42Ja6W4xregL + +--- +# drone encrypt ResiLien/portails $AWS_SECRET_ACCESS_KEY +kind: secret +name: LAMELIO_AWS_SECRET_ACCESS_KEY +data: VcxVOlwmxcs01hi06TalHm0DggpmRZMQqKWcTgNWgBLkvZRiFf5pxx8dTbqjaJ+5zjzj9a/veHqFqZSCipyo5eVayIevJnosnMXjM7j29ij/xpegatmCHXflbc0= + --- kind: pipeline type: docker @@ -28,3 +40,22 @@ steps: - hugo --minify --environment apps.p4pillon.org - hugo --minify --environment apps.p4pillon.org - hugo deploy --environment apps.p4pillon.org + +--- +kind: pipeline +type: docker +name: LaMelio + +steps: +- name: Installation des dépendances & construction du site + image: hugomods/hugo:exts-0.123.8 + environment: + AWS_ACCESS_KEY_ID: + from_secret: LAMELIO_AWS_ACCESS_KEY_ID + AWS_SECRET_ACCESS_KEY: + from_secret: LAMELIO_AWS_SECRET_ACCESS_KEY + commands: + - npm install --ignore-scripts + - hugo --minify --environment apps.lamelio.fr + - hugo --minify --environment apps.lamelio.fr + - hugo deploy --environment apps.lamelio.fr diff --git a/config/apps.lamelio.fr/hugo.toml b/config/apps.lamelio.fr/hugo.toml new file mode 100644 index 0000000..5908640 --- /dev/null +++ b/config/apps.lamelio.fr/hugo.toml @@ -0,0 +1,22 @@ +baseURL = "https://apps.lamelio.fr/" +title = "LaMelio" +languageCode = "fr-FR" +defaultContentLanguage = "fr" +disableLanguages = ["de", "nl", "en"] + +[Params] + url = "apps.lamelio.fr" + domain = "lamelio.fr" + poweredBy = false + + [Params.doks] + [Params.doks.menu] + [Params.doks.menu.section] + collapsibleSidebar = false + +[languages.fr.params] + footer = 'Mise en place et hébergé avec sobriété par RésiLien' + +[deployment.targets] + name = "production" + URL = "s3://apps.lamelio.fr?endpoint=https://s3.garage.resilien.cloud&disableSSL=true&s3ForcePathStyle=true®ion=garage" diff --git a/config/apps.lamelio.fr/menus.fr.toml b/config/apps.lamelio.fr/menus.fr.toml new file mode 100644 index 0000000..ed2d303 --- /dev/null +++ b/config/apps.lamelio.fr/menus.fr.toml @@ -0,0 +1,19 @@ +[[main]] + name = "Guides" + url = "/docs/introduction/bienvenue/" + weight = 10 + +[[footer]] + name = "Mentions légales" + url = "/mentions-legales/" + weight = 10 + +[[footer]] + name = "Sources du site" + url = "https://git.resilien.fr/ResiLien/portails/" + weight = 20 + +[[footer]] + name = "Statuts des services" + url = "https://status.lamelio.fr/" + weight = 30 diff --git a/config/apps.lamelio.fr/module.toml b/config/apps.lamelio.fr/module.toml new file mode 100644 index 0000000..d39d765 --- /dev/null +++ b/config/apps.lamelio.fr/module.toml @@ -0,0 +1,104 @@ +# mounts +## archetypes +[[mounts]] + source = "node_modules/@hyas/doks-core/archetypes" + target = "archetypes" + +[[mounts]] + source = "archetypes" + target = "archetypes" + +## assets +[[mounts]] + source = "node_modules/@hyas/core/assets" + target = "assets" + +[[mounts]] + source = "node_modules/@hyas/images/assets" + target = "assets" + excludeFiles = "/scss/**.scss" + +[[mounts]] + source = "node_modules/@hyas/doks-core/assets" + target = "assets" + +[[mounts]] + source = "node_modules/@tabler/icons/icons" + target = "assets/svgs/tabler-icons" + +[[mounts]] + source = "assets" + target = "assets" + +## content +[[mounts]] + source = "portails/shared/content" + target = "content" + +[[mounts]] + source = "portails/apps.lamelio.fr/content" + target = "content" + +## data +[[mounts]] + source = "node_modules/@hyas/doks-core/data" + target = "data" + +[[mounts]] + source = "data" + target = "data" + +[[mounts]] + source = "portails/shared/data" + target = "data" + +[[mounts]] + source = "portails/apps.lamelio.fr/data" + target = "data" + +## i18n +[[mounts]] + source = "node_modules/@hyas/doks-core/i18n" + target = "i18n" + +[[mounts]] + source = "i18n" + target = "i18n" + +## layouts +[[mounts]] + source = "node_modules/@hyas/core/layouts" + target = "layouts" + +[[mounts]] + source = "node_modules/@hyas/seo/layouts" + target = "layouts" + +[[mounts]] + source = "node_modules/@hyas/images/layouts" + target = "layouts" + +[[mounts]] + source = "node_modules/@hyas/doks-core/layouts" + target = "layouts" + +[[mounts]] + source = "node_modules/@hyas/inline-svg/layouts" + target = "layouts" + +[[mounts]] + source = "layouts" + target = "layouts" + +[[mounts]] + source = "portails/shared/layouts" + target = "layouts" + +## static +[[mounts]] + source = "node_modules/@hyas/doks-core/static" + target = "static" + +[[mounts]] + source = "static" + target = "static" diff --git a/portails/apps.lamelio.fr/content/_index.md b/portails/apps.lamelio.fr/content/_index.md new file mode 100644 index 0000000..79a8dee --- /dev/null +++ b/portails/apps.lamelio.fr/content/_index.md @@ -0,0 +1,17 @@ +--- +title : "Outils numériques libres de LaMelio" +description: "" +lead: "Ce site web met à disposition de multiples services utiles pour collaborer, partager et avoir une vie numérique plus « saine » pour LaMelio." +date: 2023-09-07T16:33:54+02:00 +lastmod: 2023-09-07T16:33:54+02:00 +draft: false +seo: + title: "Outils numériques libres de LaMelio" # custom title (optional) + description: "Ce site web met à disposition de multiples services utiles pour collaborer, partager et avoir une vie numérique plus « saine » pour LaMelio." # custom description (recommended) + canonical: "" # custom canonical URL (optional) + noindex: false # false (default) or true +--- + +L'association [RésiLien](https://resilien.fr) met à disposition des outils informatiques. + +Ses outils sont disponibles pour les acteurs travaillant sur le projet LaMelio. Pour la création d'un compte vous pouvez faire la demande sur [compte@lamelio.fr](mailto:compte@lamelio.fr). diff --git a/portails/apps.lamelio.fr/data/services.yml b/portails/apps.lamelio.fr/data/services.yml new file mode 100644 index 0000000..6caae71 --- /dev/null +++ b/portails/apps.lamelio.fr/data/services.yml @@ -0,0 +1,7 @@ +- name: nextcloud +- name: hedgedoc +- name: element + link: https://matrix.to/#/#p4pillon-sante:converser.eu +- name: vikunja +- name: signaturepdf +- name: vaultwarden diff --git a/portails/shared/data/portails.yml b/portails/shared/data/portails.yml index 8cbc255..a862fa7 100644 --- a/portails/shared/data/portails.yml +++ b/portails/shared/data/portails.yml @@ -26,6 +26,15 @@ services: description: Gitea est une forge logicielle libre pour l'hébergement de développement logiciel et la gestion du code source subdomain: forge doc: /docs/nuage/gérer-vos-données/ + hedgedoc: + tool: + name: Hedgedoc + link: https://hedgedoc.org/ + title: Prise de notes + icon: pencil + description: Collaborer sur une documentation en ligne pour mettre en lumière les connaissances de votre équipe. + subdomain: notes + doc: /docs/notes/prise-de-notes/ listmonk: tool: name: listmonk