You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
popovspiridon99 300921751a lines/figures: hitTolerance for hover/click 3 months ago
client lines/figures: hitTolerance for hover/click 3 months ago
ems Update 4 months ago
monitor Map update 9 months ago
.env.example Add CLIENT_PORT env 5 months ago
.gitignore Map caching in Redis 9 months ago
docker-compose.yml Update 5 months ago
readme.md Map update 9 months ago

readme.md

client

Рекомендуемый способ запуска всех сервисов через docker-compose.yml:

docker compose up -d --build

client

Переменные окружения (.env) описаны в .env.example

Docker

Есть два варианта запуска в Docker:

  1. Рекомендованный способ сборки через docker-compose.yml, находящийся в корне репозитория:
docker compose up -d --build --no-deps client
  1. Сборка отдельного контейнера без docker compose, из Dockerfile:
cd client
docker build -t client .
docker run -d --name client -p 5173:5173 --restart always client

Локально

⚠ Рекомендуется Node LTS версии ^20.15.1

cd client

В client:

  1. Установить зависимости:
npm install
  1. Запуск vite в dev-режиме:
npm run dev

или в production-ready serve:

npm serve

monitor