codex_a
0cbac68ec1
feat: add production deploy pipeline and fix dev CSS
...
CI / nightly-e2e (pull_request) Has been skipped
CI / deploy (pull_request) Has been skipped
CI / pr-e2e (pull_request) Successful in 1m4s
CI / ci (pull_request) Successful in 1m23s
Dev:
- Add tailwind install + build to docker-compose startup so CSS is built
inside the container — not dependent on local filesystem
Production (docker-compose.prod.yml):
- Gunicorn on 127.0.0.1:8001, bind-mounted static/media to host paths
so Caddy can serve them directly
- Runs migrate, tailwind build, collectstatic on startup
Settings (production.py):
- Disable SECURE_SSL_REDIRECT (Caddy handles redirects; Django would loop)
- Add CSRF_TRUSTED_ORIGINS for nohypeai.net
CI (.gitea/workflows/ci.yml):
- Add push-to-main trigger
- Add deploy job: SSHes to lintel-prod-01 as deploy, runs deploy/deploy.sh
Server config (deploy/):
- deploy/caddy/nohype.caddy — Caddy site config for nohypeai.net
- deploy/sum-nohype.service — systemd unit for the compose stack
- deploy/deploy.sh — deploy script (pull, build, restart)
One-time manual steps required on lintel-prod-01 (need root):
sudo cp deploy/sum-nohype.service /etc/systemd/system/
sudo cp deploy/caddy/nohype.caddy /etc/caddy/sites-enabled/
sudo systemctl daemon-reload && sudo systemctl enable sum-nohype
sudo systemctl reload caddy
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-02-28 21:34:13 +00:00
codex_a
a598727888
fix: fix all dev static/media serving issues
...
CI / nightly-e2e (pull_request) Has been skipped
CI / pr-e2e (pull_request) Successful in 1m4s
CI / ci (pull_request) Successful in 1m22s
- Remove WhiteNoise from MIDDLEWARE in development: it intercepts /static/
requests and serves from STATIC_ROOT, which is empty without collectstatic.
Django's runserver serves static files natively with DEBUG=True.
- Switch to StaticFilesStorage in dev: no manifest required.
- Add media URL pattern in DEBUG mode: runserver does not serve MEDIA_ROOT
automatically, so uploaded images were 404ing in local dev.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-02-28 20:57:54 +00:00
codex_a
f950e3cd5e
fix: use plain StaticFilesStorage in dev settings
...
CI / nightly-e2e (pull_request) Has been skipped
CI / pr-e2e (pull_request) Successful in 1m4s
CI / ci (pull_request) Successful in 1m24s
CompressedManifestStaticFilesStorage requires collectstatic to generate a
manifest before it can serve anything. Dev containers never run collectstatic
so every static asset 404s. Override to StaticFilesStorage in dev so Django
serves files directly from STATICFILES_DIRS and app static directories.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-02-28 20:46:23 +00:00
Mark
14db1bb57e
fix(ci): address PR blockers and move CI/nightly off sqlite
CI / nightly-e2e (pull_request) Has been skipped
CI / ci (pull_request) Failing after 35s
2026-02-28 16:38:37 +00:00
Codex_B
36ac487cbd
Resolve PR review gaps across comments, security, feeds, and UX
CI / nightly-e2e (pull_request) Has been skipped
CI / ci (pull_request) Successful in 48s
2026-02-28 13:47:21 +00:00
Codex_B
6fc28f9d9a
Implement newsletter double opt-in email flow and CSP nonce headers
CI / lint (pull_request) Failing after 2m13s
CI / tests (pull_request) Failing after 2m18s
CI / typecheck (pull_request) Failing after 2m39s
2026-02-28 12:37:32 +00:00
Codex_B
b5f0f40c4c
Scaffold containerized Django/Wagtail app with core features
2026-02-28 11:52:59 +00:00