Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| backlog | ||
| scripts | ||
| .env.example | ||
| .gitignore | ||
| README.md | ||
| SPEC.md | ||
| app.yml | ||
README.md
cadCAD Community Discourse Forum
Self-hosted Discourse forum for the cadCAD community.
- Temp URL: https://cadcad-forum.jeffemmett.com
- Final URL: https://community.cadcad.org (pending DNS coordination)
- Server: Netcup RS 8000 at
/opt/discourse/ - Memory: 2GB container limit + 2GB swap
Quick Reference
ssh netcup
cd /opt/discourse
./launcher logs app # View logs
./launcher restart app # Restart
./launcher rebuild app # Rebuild (after config changes)
./launcher enter app # Shell into container
./launcher stop app # Stop
After any rebuild, reconnect to Traefik:
bash scripts/post-rebuild.sh
Initial Setup
- Run
scripts/install.shon Netcup (or see SPEC.md for manual steps) - Add
cadcad-forum.jeffemmett.comto Cloudflare tunnel - Create admin account:
./launcher enter app→rake admin:create
Import Existing Forum Data
- Get
.tar.gzbackup from existing community.cadcad.org admin panel (/admin/backups) - Upload to Netcup:
scp backup.tar.gz netcup:/tmp/ - Run:
bash scripts/restore-backup.sh /tmp/backup.tar.gz
Switch to community.cadcad.org
- Edit
containers/app.yml: updateDISCOURSE_HOSTNAMEand TraefikHost()rule ./launcher rebuild app && bash scripts/post-rebuild.sh- Add
community.cadcad.orgto Cloudflare tunnel - Coordinate DNS: CNAME
community.cadcad.org→ tunnel UUID.cfargotunnel.com
Configure Email (SMTP)
Uncomment and fill in the SMTP section in containers/app.yml, then rebuild.