All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2s
26 lines
736 B
Markdown
26 lines
736 B
Markdown
# 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
|
|
```
|