Remove google-services.json from tracking and add it to .gitignore.
Add a .json.template placeholder with dummy values so developers know
the file structure. Update README to reflect auto-created admin user.
The leaked key (AIzaSyDsA2wgQIw-bVgwODNMIF482gVRn5xdANU) must still
be revoked in Google Cloud Console by the project owner.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Remove invalid username= arg from create_superuser (User model has no
username field, USERNAME_FIELD is email)
- Warn when ADMIN_PASSWORD is not set instead of silently using "admin"
- Fail fast if insecure SECRET_KEY is used in non-dev environments
- Remove duplicate DOMAIN_NAME assignment (lines 309 vs 333)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Use shared_task instead of standalone Celery apps so celery -A crm worker
discovers all tasks. Add safe defaults for all required env vars in
settings.py so missing .env no longer crashes Django. Create idempotent
management command to bootstrap a superuser in Docker. Populate
.env.example with working dev defaults.
Fixes#490, #493, #508, #388, #383, #382, #381, #441, #519
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Dockerize the full stack so developers can run everything with
`docker compose up`. Replaces the outdated Dockerfile and
docker-compose.yml with a working 6-service setup: PostgreSQL,
Redis, Django backend, Celery worker, Celery beat, and SvelteKit
frontend.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The activation URL was mistakenly added to the EmailMessage recipients
list alongside the user email. Recipients should only contain email
addresses; the activation link is already passed via the template context.
Fixes#560
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>