chore: reorganize project structure and prepare for deployment

- 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
This commit is contained in:
2025-11-24 07:12:04 +09:00
parent 7bf003e70d
commit d9adac609b
26 changed files with 1869 additions and 11 deletions

22
tests/README.md Normal file
View File

@@ -0,0 +1,22 @@
# Test Files
Эта папка содержит тестовые и отладочные файлы.
## Файлы
- `endpoint_test.sh` - Скрипт для тестирования API эндпоинтов
- `real_confirmation_process.html` - Документация процесса подтверждения заявок
- `response_*.json` - Примеры ответов API (генерируются автоматически)
## Использование
### Тестирование API
```bash
chmod +x endpoint_test.sh
./endpoint_test.sh
```
## Примечание
Файлы `response_*.json` игнорируются git и генерируются автоматически при запуске тестов.