docs: rewrited old README.md

This commit is contained in:
ITQ
2025-01-29 20:24:56 +03:00
parent 703ad328df
commit a452ac5812
+30 -3
View File
@@ -1,6 +1,33 @@
# PROMO v2: Promo Code Backend # PROMO v2: Promo Code Backend
Это ваш личный репозиторий для решения второго этапа в треке Backend. My solution for the second stage of the PROD olympiad 2025. Passes all tests.
Вы можете редактировать файлы **только в директории `solution`**.
Условие задания и публичные тесты доступны [в данном репозитории](https://github.com/Central-University-IT/FAQ-2025/tree/main/backend). Task: [github.com/Central-University-IT/FAQ-2025/tree/main/backend](https://github.com/Central-University-IT/FAQ-2025/tree/main/backend).
## Running tests
### Prerequisites
Ensure you have the following installed on your system:
- [Python](https://www.python.org/) (>=3.10,<3.12)
- [uv](https://docs.astral.sh/uv/)
- [Docker](https://www.docker.com/) (for containerized setup)
### Go to tests directory
```bash
cd tests
```
### Install dependencies
```bash
uv sync --no-dev
```
### Run tests
```bash
sh run-tests.sh
```