Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Работающий композ #63

Merged
merged 2 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 22 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# 2024_2_VKatuny
![Coverage](https://img.shields.io/badge/Coverage-60.8%25-yellow)

Данный репозиторий предназначен для хранения frontend части проекта HeadHunter,
Данный репозиторий предназначен для хранения backend части проекта HeadHunter,
разрабатываемого командой VKатуны.

- [2024\_2\_VKatuny](#2024_2_vkatuny)
Expand All @@ -15,7 +15,7 @@
### Члены команды

- [Илья Андриянов](https://github.com/Regikon)
- [Виктория Гурьева](https://github.com/VikaGuryeva)
- [~~Виктория Гурьева~~](https://github.com/VikaGuryeva) (ушла из проекта)
- [Олег Музалев](https://github.com/Olgmuzalev13)
- [Михаил Черепнин](https://github.com/Ifelsik)

Expand All @@ -27,7 +27,7 @@

## Ссылки на внешние ресурсы

- [Стандартная ссылка на деплой](http://89.208.199.175)
- [Стандартная ссылка на деплой](https://uart.site)
- [Репозиторий фронтенда](https://github.com/frontend-park-mail-ru/2024_2_VKatuny)
- [Ссылка на документацию api (без рендера) в репозитории бэкенда](https://github.com/go-park-mail-ru/2024_2_VKatuny/tree/feature_vacancies-list-api/api)

Expand All @@ -53,14 +53,26 @@ make lint
make tests
```

### Необходимые библиотеки
go-pdfium
https://github.com/klippa-app/go-pdfium?tab=readme-ov-file
pdfium
https://github.com/bblanchon/pdfium-binaries/releases/download/chromium%2F6886/pdfium-linux-x64.tgz
### Генерация swagger-файла
```bash
make api
```

### Генерация моков для тестов
```bash
make mock-gen
```

### Генерация easy-json
```bash
make easyjson-gen
```

govips
https://github.com/davidbyttow/govips
## Необходимые библиотеки
[go-pdfium](https://github.com/klippa-app/go-pdfium?tab=readme-ov-file)
[pdfium](https://github.com/bblanchon/pdfium-binaries/releases/download/chromium%2F6886/pdfium-linux-x64.tgz)

[govips](https://github.com/davidbyttow/govips)
+
https://github.com/davidbyttow/govips/issues/100
(
Expand Down
15 changes: 8 additions & 7 deletions all-services-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ services:
restart: unless-stopped
volumes:
- ./configs/:/build/configs
- ${MEDIA_DIR}:/build/${MEDIA_DIR}
- ${COMPRESSED_MEDIA_DIR}:/build/${COMPRESSED_MEDIA_DIR}
- ${MEDIA_DIR}:/build/media/Uncompressed
- ${COMPRESSED_MEDIA_DIR}:/build/media/Compressed
networks:
- monitoring

Expand All @@ -51,6 +51,7 @@ services:
restart: unless-stopped
volumes:
- ./configs/:/build/configs
- ${HOST_TLS_CERTIFICATE_DIR}:/build/tls
depends_on:
db_postgresql:
condition: service_started
Expand All @@ -65,14 +66,14 @@ services:
env_file:
- .env
ports:
- "127.0.0.1:8081:8001"
- "127.0.0.1:8081:8081"
restart: unless-stopped
volumes:
- ./configs/:/build/configs
- ${MEDIA_DIR}:/build/${MEDIA_DIR}
- ${CV_PDF_DIR}:/build/${CV_PDF_DIR}
- ${TEMPLATES_DIR}:/build/${TEMPLATES_DIR}
- ${HOST_TLS_CERTIFICATE_DIR}:/build/${TLS_DIR}
- ${MEDIA_DIR}:/build/media
- ${CV_PDF_DIR}:/build/media/CVinPDF
- ${TEMPLATES_DIR}:/build/templates
- ${HOST_TLS_CERTIFICATE_DIR}:/build/tls:ro
depends_on:
db_postgresql:
condition: service_started
Expand Down
Loading