- Updated project description in __init__.py - Enhanced .gitignore to exclude additional data files - Modified User model to remove first_name and last_name fields - Improved instance save method in services.py to include updated_at field - Added API tokens to .env.example for external services - Cleaned up test files for better readability - Updated Dockerfile and docker-compose.yml for improved setup - Revised README.md to reflect project changes and added changelog
38 lines
1.1 KiB
Plaintext
38 lines
1.1 KiB
Plaintext
# Файл окружения для разработки
|
||
# Скопируйте этот файл в .env и измените значения по необходимости
|
||
|
||
# Django Settings
|
||
DEBUG=True
|
||
SECRET_KEY=django-insecure-development-key-change-in-production
|
||
ALLOWED_HOSTS=localhost,127.0.0.1,0.0.0.0
|
||
|
||
# Database Settings
|
||
POSTGRES_DB=project_dev
|
||
POSTGRES_USER=postgres
|
||
POSTGRES_PASSWORD=postgres
|
||
POSTGRES_HOST=localhost
|
||
POSTGRES_PORT=5432
|
||
|
||
# Redis Settings
|
||
REDIS_URL=redis://localhost:6379/0
|
||
REDIS_CACHE_URL=redis://localhost:6379/1
|
||
|
||
# Celery Settings
|
||
CELERY_BROKER_URL=redis://localhost:6379/0
|
||
CELERY_RESULT_BACKEND=redis://localhost:6379/0
|
||
|
||
# CORS Settings
|
||
CORS_ALLOWED_ORIGINS=http://localhost:3000,http://127.0.0.1:3000
|
||
|
||
# Logging
|
||
LOG_LEVEL=INFO
|
||
|
||
# Scrapy Settings
|
||
SCRAPY_LOG_LEVEL=INFO
|
||
|
||
# Parsers API Tokens
|
||
# Токен для zakupki.gov.ru (получить через Госуслуги на https://zakupki.gov.ru/pmd/auth/welcome)
|
||
ZAKUPKI_TOKEN=
|
||
|
||
# API ключ для checko.ru (информация о юридических лицах)
|
||
CHECKO_API_KEY= |