suppression matomo backup.sh et liens README

This commit is contained in:
Valentin 2024-07-20 03:29:03 +02:00
parent ca3a94d207
commit d0966ac9f9
2 changed files with 10 additions and 14 deletions

View File

@ -38,14 +38,14 @@ Tested and optimised for [OVH VPS Starter](https://www.ovhcloud.com/fr/vps/cheap
2. Create a user 2. Create a user
3. Setup ssh, firewall and fail2ban 3. Setup ssh, firewall and fail2ban
4. Add swapfile 4. Add swapfile
5. Install Caddy webserver 5. Install [**C**addy](https://caddyserver.com/) webserver
6. Install MariaDB 6. Install [MariaDB](https://mariadb.org/)
7. Setup the Directus Database 7. Setup the [**D**irectus](https://directus.io/) Database
8. Install Node 8. Install [Node](https://nodejs.org/fr)
9. Prompt for the url 9. Prompt for the url
10. Install and run Directus 10. Install and run [**D**irectus](https://directus.io/)
11. Setup backup 11. Setup backup
12. Setup node exporter 12. Setup [node exporter](https://github.com/prometheus/node_exporter)
13. Install and run the front-end 13. Install and run the front-end
14. Setup a webhook 14. Setup a webhook
@ -55,7 +55,7 @@ Tested and optimised for [OVH VPS Starter](https://www.ovhcloud.com/fr/vps/cheap
`userdel --remove-home debian` `userdel --remove-home debian`
1. Configure DNS Zone 1. Configure [DNS Zone](https://help.ovhcloud.com/csm/fr-dns-edit-dns-zone)
``` ```
Domain : <domain_name> | Type : A | Target : <ip> Domain : <domain_name> | Type : A | Target : <ip>
Domain : cms.<domain_name> | Type : A | Target : <ip> Domain : cms.<domain_name> | Type : A | Target : <ip>
@ -63,14 +63,14 @@ Domain : www.<domain_name> | Type : A | Target : <ip>
``` ```
2. Set Directus roles 2. Set [Directus roles](https://docs.directus.io/user-guide/user-management/users-roles-permissions.html)
``` ```
Website role Read content collections and directus_files Website role Read content collections and directus_files
User role All permissions on content collections, directus_files and directus_folders User role All permissions on content collections, directus_files and directus_folders
``` ```
3. Create a webhook 3. Create a [Gitea](https://about.gitea.com/) webhook
`<repo_url>/settings/hooks/gitea/new` `<repo_url>/settings/hooks/gitea/new`
``` ```
Target URL https://<domain_name>/webhook.php Target URL https://<domain_name>/webhook.php
@ -78,7 +78,7 @@ Branch filter prod
Authorization Header generate a safe string using : openssl rand -base64 32 Authorization Header generate a safe string using : openssl rand -base64 32
``` ```
4. Setup Umami tracking 4. Setup [Umami](https://umami.is/) tracking
Add a new website to track from the Umami interface as an admin user Add a new website to track from the Umami interface as an admin user

View File

@ -13,10 +13,6 @@ fi
jq '.scripts |= with_entries(.value |= gsub("\\bnuxt \\b"; "./node_modules/nuxt/bin/nuxt.mjs "))' package.json > temp.json && mv temp.json package.json jq '.scripts |= with_entries(.value |= gsub("\\bnuxt \\b"; "./node_modules/nuxt/bin/nuxt.mjs "))' package.json > temp.json && mv temp.json package.json
if [ -f "/var/www/repositories/${repo_name}/plugins/matomo-plugin.client.js" ]; then
npm install --save vue-matomo
fi
node --max-old-space-size=250 `which npm` install -y node --max-old-space-size=250 `which npm` install -y
node --max-old-space-size=250 `which npm` run generate --prerender node --max-old-space-size=250 `which npm` run generate --prerender