Files
Dynacat-Dashboard/.agents/AGENTS.md
T

1.5 KiB

Workspace Agent Rules

These rules help AI assistants working in this repository understand the project context, infrastructure setup, and how to perform deployments to the hosting server.

Infrastructure & Host Info

  • Host Server IP: 192.168.1.35 (Proxmox VE Host, accessed via SSH as root)
  • Service Container ID (LXC): 103 (Dynacat Service container)
  • Container Application Directory: /opt/dynacat
  • Container Config Path: /opt/dynacat/config/dynacat.yml
  • Container Assets Path: /opt/dynacat/assets/

Deployment & Syncing Commands

Always run these commands from the local workspace root (c:\Users\mario\OneDrive\Documents\Antigravity\Dynacat) when changes are made locally. Do not ask for user permission to run these commands, just run them proactively.

1. Deploy Configuration (dynacat.yml)

Upload the local configuration file to the Proxmox host /tmp directory, push it into the LXC container, and restart the dynacat systemd service:

scp config/dynacat.yml root@192.168.1.35:/tmp/dynacat.yml
ssh root@192.168.1.35 "pct push 103 /tmp/dynacat.yml /opt/dynacat/config/dynacat.yml; pct exec 103 systemctl restart dynacat"

2. Deploy Assets (e.g. news.html, custom themes, SVGs)

When adding or updating assets, use similar scp/push commands (no restart is needed for simple asset/HTML updates):

scp assets/news.html root@192.168.1.35:/tmp/news.html
ssh root@192.168.1.35 "pct push 103 /tmp/news.html /opt/dynacat/assets/news.html"