docs: Consolidate homelab documentation and update SSH guide
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2s
This commit is contained in:
25
operations/dashboard-updates.md
Normal file
25
operations/dashboard-updates.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# SOP: Updating the Dashboard
|
||||
|
||||
The homelab landing page (Antigravity Dashboard) is a static Nginx site managed via Git.
|
||||
|
||||
## Workflow
|
||||
|
||||
1. **Local Development:** Modify `index.html` or assets on your local machine.
|
||||
2. **Push Changes:**
|
||||
```bash
|
||||
git add .
|
||||
git commit -m "Update dashboard: [feature/fix]"
|
||||
git push
|
||||
```
|
||||
3. **Remote Update:**
|
||||
SSH into the Linode instance and run the pre-configured alias:
|
||||
```bash
|
||||
updatedash
|
||||
```
|
||||
*(This is an alias for `/opt/docker/dashboard/update-dash.sh` which performs a `git pull` inside the container's mounted volume).*
|
||||
|
||||
## Troubleshooting
|
||||
- If the alias fails, manually navigate to the directory:
|
||||
```bash
|
||||
cd /opt/docker/dashboard && ./update-dash.sh
|
||||
```
|
||||
Reference in New Issue
Block a user