From 701538a4e39758406790a42e2ee04656cbd13aba Mon Sep 17 00:00:00 2001 From: boilerrat <128boilerrat@gmail.com> Date: Sun, 16 Mar 2025 15:07:50 -0400 Subject: [PATCH] Update README with documentation for maintenance scripts --- README.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5e0cc9c..d2d7726 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ npm run build ## 🚀 Deployment -This website is now deployed on a VPS at [boilerhaus.org](https://boilerhaus.org) using a custom deployment script. +This website is deployed on a VPS at [boilerhaus.org](https://boilerhaus.org) using a custom deployment script. ### Deployment Setup @@ -87,6 +87,26 @@ This website is now deployed on a VPS at [boilerhaus.org](https://boilerhaus.org - Vaultwarden (bw.boilerhaus.org) - Nextcloud (cloud.boilerhaus.org) +### Maintenance Scripts + +The repository includes several utility scripts to help with maintenance: + +1. **update-from-gitea.sh** + - Updates the local repository from Gitea + - Preserves any local changes using git stash + +2. **fix-nginx-config.sh** + - Fixes the Nginx configuration on the server + - Properly configures all subdomains + +3. **fix-nextcloud-occ.sh** + - Adds cloud.boilerhaus.org to Nextcloud's trusted domains + - Uses the Nextcloud occ command-line tool + +4. **cleanup.sh** + - Removes unnecessary files from the repository + - Updates .gitignore to exclude build artifacts + ### Server Configuration The website is served by Nginx with SSL certificates from Let's Encrypt. The configuration files are located on the server at `/etc/nginx/sites-available/`.