Files
Dorod-Sky/start-backend.sh
Vodorod 6b69159550
Some checks failed
Run tests and pre-commit / Run tests and pre-commit hooks (push) Has been cancelled
Run tests and pre-commit / Frontend Lint and Build (push) Has been cancelled
Publish Fern Docs / run (push) Has been cancelled
Update OpenAPI Specification / update-openapi (push) Has been cancelled
feat: Add Russian i18n translations and fix CORS + API endpoint issues
- Implemented full Russian translation (ru) for 8 major pages
- Added LanguageSwitcher component with language detection
- Translated: Navigation, Settings, Workflows, Credentials, Banner, Examples
- Fixed API endpoint path: changed to use sans-api-v1 client for /v1/ endpoints
- Fixed CORS: added http://localhost:8081 to ALLOWED_ORIGINS
- Added locales infrastructure with i18next and react-i18next
- Created bilingual JSON files (en/ru) for 4 namespaces
- 220+ translation keys implemented
- Backend CORS configuration updated in .env
- Documentation: I18N implementation guides and installation docs
2026-02-21 08:29:21 +03:00

51 lines
1.3 KiB
Bash
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/bin/bash
# Skyvern Backend Starter Script
# Port: 8000
cd "$(dirname "$0")"
echo "🚀 Запуск Skyvern Backend..."
echo ""
echo "Активация virtual environment..."
source .venv/bin/activate
echo "Проверка БД..."
docker ps | grep skyvern-postgres || {
echo "❌ PostgreSQL не запущена! Запускаю..."
docker compose -f docker-compose.deps.yml up -d postgres
sleep 5
}
docker ps | grep skyvern-redis || {
echo "❌ Redis не запущена! Запускаю..."
docker compose -f docker-compose.deps.yml up -d redis
sleep 3
}
echo ""
echo "✅ PostgreSQL: localhost:5433"
echo "✅ Redis: localhost:6380"
echo ""
# Проверить .env
if [ ! -f .env ]; then
echo "❌ Файл .env не найден! Создайте его из .env.example"
exit 1
fi
echo "Запуск uvicorn сервера..."
echo "📍 Backend будет доступен на: http://localhost:8000"
echo "📍 API Docs: http://localhost:8000/docs"
echo ""
echo "Для остановки нажмите Ctrl+C"
echo ""
# Запуск FastAPI приложения
# Модуль: skyvern.forge.api_app:app
uvicorn skyvern.forge.api_app:app \
--host 0.0.0.0 \
--port 8000 \
--reload \
--log-level info