- Organize files into logical directories (docs/, scripts/, tests/) - Add comprehensive documentation (README, CONTRIBUTING, CHANGELOG) - Create deployment automation scripts - Add Docker production configuration - Update .gitignore and add .dockerignore - Remove temporary and test files from root - Improve settings.py with DEBUG from env variable Added: - README.md with project overview - CONTRIBUTING.md for contributors - CHANGELOG.md for version tracking - PROJECT_STATUS.md with current state - docker-compose.prod.yml for production - nginx.conf for production web server - scripts/deploy.sh for automated deployment - scripts/check-config.sh for configuration validation - scripts/setup-ssl.sh for SSL certificate setup - docs/DEPLOYMENT.md with detailed deployment guide - docs/ENV_VARIABLES.md with all environment variables Moved: - Documentation to docs/ - Scripts to scripts/ - Test files to tests/ Removed: - .history/ directory - Test response JSON files from root - settings_production.py (merged into settings.py) This commit prepares the project for: - Production deployment - Team collaboration - Docker containerization - Proper documentation
738 B
738 B
Test Files
Эта папка содержит тестовые и отладочные файлы.
Файлы
endpoint_test.sh- Скрипт для тестирования API эндпоинтовreal_confirmation_process.html- Документация процесса подтверждения заявокresponse_*.json- Примеры ответов API (генерируются автоматически)
Использование
Тестирование API
chmod +x endpoint_test.sh
./endpoint_test.sh
Примечание
Файлы response_*.json игнорируются git и генерируются автоматически при запуске тестов.