Some checks failed
Deploy Waitlist / Deploy to VPS (push) Failing after 2m26s
Adds Django waitlist app to serve the launch-gating endpoints: - GET /training/django-cohort/waitlist → HTML cohort waitlist page - POST /v1/waitlist/django-cohort → JSON signup with attribution Changes: - waitlist/ app: WaitlistSignup model, views, urls, admin, template - config/settings/waitlist.py: minimal prod settings for waitlist-only deploy - config/urls_waitlist.py: slimmed URL conf (waitlist + healthz + admin) - config/urls.py: registers waitlist routes on full project - config/settings/base.py: adds waitlist to INSTALLED_APPS - docker-compose.waitlist.yml: Traefik-labelled deploy for VPS - requirements/waitlist.txt: minimal dependency set for waitlist build - .gitea/workflows/deploy-waitlist.yml: CI deploy job using Docker socket - Dockerfile: parameterise DJANGO_SETTINGS_FOR_COLLECTSTATIC DNS action required after deploy (board): api.usepaperclip.app → 76.13.129.223 (VPS) usepaperclip.app → 76.13.129.223 (VPS) OR Vercel creds for Next.js fix Co-Authored-By: Paperclip <noreply@paperclip.ing>
16 lines
399 B
Python
16 lines
399 B
Python
"""Minimal URL configuration for waitlist-only deployment."""
|
|
from django.contrib import admin
|
|
from django.http import JsonResponse
|
|
from django.urls import include, path
|
|
|
|
|
|
def health(request):
|
|
return JsonResponse({"status": "ok"})
|
|
|
|
|
|
urlpatterns = [
|
|
path("admin/", admin.site.urls),
|
|
path("healthz/", health, name="health"),
|
|
path("", include("waitlist.urls", namespace="waitlist")),
|
|
]
|