You've already forked Promocode-API
mirror of
https://github.com/devitq/Promocode-API.git
synced 2026-05-22 22:07:12 +00:00
docs: rewrited old README.md
This commit is contained in:
@@ -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
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user