feat: add direct-save CMS and About archive

This commit is contained in:
2026-09-28 20:29:00 +03:30
parent 94b32310af
commit 0f6220f72c
12 changed files with 957 additions and 41 deletions

35
.env.development.example Normal file
View File

@@ -0,0 +1,35 @@
# Copy to .env for local development. Keep .env out of Git.
DJANGO_SETTINGS_MODULE=config.settings.development
SECRET_KEY=replace-with-a-local-random-secret
JWT_SECRET_KEY=replace-with-a-second-local-random-secret
DEBUG=True
ALLOWED_HOSTS=127.0.0.1,localhost
DJANGO_HOST=http://127.0.0.1:8000
SITE_URL=http://127.0.0.1:8000
DB_ENGINE=django.db.backends.postgresql
DB_NAME=guilan_ace_local
DB_USER=postgres
DB_PASSWORD=replace-with-your-local-postgres-password
DB_HOST=127.0.0.1
DB_PORT=5432
REDIS_URL=redis://127.0.0.1:6379/0
CELERY_BROKER_URL=redis://127.0.0.1:6379/0
CELERY_RESULT_BACKEND=redis://127.0.0.1:6379/1
# Copy these from a trusted backup or your SMS.ir account.
SMS_APIKEY=
SMS_AUTH_OTP_TEMPLATE_ID=
SMS_EVENT_CANCELLATION_TEMPLATE_ID=
SMS_EVENT_RESCHEDULE_TEMPLATE_ID=
SMS_PAYMENT_STATUS_TEMPLATE_ID=
FRONTEND_ROOT=http://localhost:8080
FRONTEND_CALLBACK_URL=http://localhost:8080/payments/result
GOOGLE_OAUTH_REDIRECT_URI=http://127.0.0.1:8000/api/auth/oauth/google/callback
GOOGLE_OAUTH_FRONTEND_CALLBACK_URL=http://localhost:8080/auth/google/callback
ZARINPAL_MERCHANT_ID=replace-with-your-merchant-id
ZARINPAL_USE_SANDBOX=True
ZARINPAL_CALLBACK_URL=http://127.0.0.1:8000/api/payments/callback