You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Tail live (Ctrl+C to stop)
sudo journalctl -u construct -f
# Last N lines
sudo journalctl -u construct -n 200
# Last 5 minutes
sudo journalctl -u construct --since "5m ago"# Today's logs
sudo journalctl -u construct --since today
# Errors only
sudo journalctl -u construct -p err
# Between times
sudo journalctl -u construct --since "2025-03-27 14:00" --until "2025-03-27 15:00"
Docker Containers
# List running containers
docker ps
# Container logs
docker logs construct-dev
# Exec into container
docker exec -it construct-dev bash
# Supervisor status inside container
docker exec construct-dev supervisorctl status
Grant Pro Access
cd backend
# List all users
bun run scripts/grant-pro.ts
# Grant pro by email/username
DB_PATH=/opt/construct/data/construct.db bun run scripts/grant-pro.ts ankush4singh
Architecture
Local Machine VPS (vps.ankush.one)
───────────── ────────────────────
./scripts/deploy.sh ──SSH──→ ~/construct/
├── backend/ → bun (systemd: construct.service)
├── frontend/ → static files served by backend
├── agent/ → compiled binary in Docker containers
└── container/ → Dockerfile + browser-use-service
nginx (:443) → backend (:3000) → Docker containers