chore: add public repository safeguards
This commit is contained in:
@@ -0,0 +1,30 @@
|
|||||||
|
# Kullanılacak ortam: test veya prod
|
||||||
|
IKLIM_API_ENV=test
|
||||||
|
|
||||||
|
# Ortam adresleri
|
||||||
|
IKLIM_API_TEST_URL=https://api-test.iklim.co
|
||||||
|
IKLIM_API_PROD_URL=https://api.iklim.co
|
||||||
|
|
||||||
|
# Login bilgileri
|
||||||
|
IKLIM_USERNAME=name@domain.com
|
||||||
|
IKLIM_PASSWORD=change-me
|
||||||
|
IKLIM_HMAC_SECRET=change-me
|
||||||
|
|
||||||
|
# API yanıt dili: tr veya en
|
||||||
|
IKLIM_ACCEPT_LANGUAGE=tr
|
||||||
|
|
||||||
|
# HTTP ve retry ayarları
|
||||||
|
IKLIM_TIMEOUT_SECONDS=30
|
||||||
|
IKLIM_TOKEN_EXPIRY_SKEW_SECONDS=60
|
||||||
|
IKLIM_MAX_RETRIES=3
|
||||||
|
IKLIM_RETRY_BASE_SECONDS=2
|
||||||
|
|
||||||
|
# İlk başarılı tam webhook kaydından sonra otomatik true yapılır
|
||||||
|
IKLIM_WEBHOOK_INITIALIZED=false
|
||||||
|
|
||||||
|
# Login/refresh sonrasında otomatik doldurulur
|
||||||
|
IKLIM_ACCESS_TOKEN=
|
||||||
|
IKLIM_REFRESH_TOKEN=
|
||||||
|
IKLIM_ACCESS_TOKEN_EXPIRES_AT=
|
||||||
|
IKLIM_REFRESH_TOKEN_EXPIRES_AT=
|
||||||
|
IKLIM_TOKENS_UPDATED_AT=
|
||||||
+38
@@ -0,0 +1,38 @@
|
|||||||
|
# Secrets and local runtime configuration
|
||||||
|
.env
|
||||||
|
.env.*
|
||||||
|
!.env.example
|
||||||
|
webhook.json
|
||||||
|
nowcast-geo-alarm-filter.json
|
||||||
|
|
||||||
|
# Runtime data and debug output
|
||||||
|
nowcast-geo-alarm-registrations.csv
|
||||||
|
logs/
|
||||||
|
*.log
|
||||||
|
|
||||||
|
# Python caches and virtual environments
|
||||||
|
__pycache__/
|
||||||
|
*.py[cod]
|
||||||
|
*$py.class
|
||||||
|
.venv/
|
||||||
|
venv/
|
||||||
|
env/
|
||||||
|
|
||||||
|
# Test and coverage output
|
||||||
|
.pytest_cache/
|
||||||
|
.mypy_cache/
|
||||||
|
.ruff_cache/
|
||||||
|
.coverage
|
||||||
|
.coverage.*
|
||||||
|
htmlcov/
|
||||||
|
|
||||||
|
# Build and packaging output
|
||||||
|
build/
|
||||||
|
dist/
|
||||||
|
*.egg-info/
|
||||||
|
|
||||||
|
# Editor and operating-system files
|
||||||
|
.idea/
|
||||||
|
.vscode/
|
||||||
|
.DS_Store
|
||||||
|
Thumbs.db
|
||||||
Reference in New Issue
Block a user