mnemo_cards/mnemo_cards_backend/run_dev.sh
2025-11-16 14:25:27 +03:00

19 lines
625 B
Bash
Executable file
Raw 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
# Скрипт для запуска backend в режиме разработки
# Использует HTTP (без SSL) для локальной разработки
echo "Starting Mnemo Cards Backend in development mode..."
echo "Backend will be available at http://localhost:8000"
echo ""
# Запускаем сервер на порту 8000 БЕЗ SSL (HTTP только для разработки)
# НЕ передаем --certs чтобы использовать HTTP вместо HTTPS
dart run lib/main.dart \
--isar isar \
--workdir $(pwd) \
--backup backup \
-a 0.0.0.0 \
-p 8000