mumbullet/scripts/start_dev_environment.sh

19 lines
534 B
Bash
Executable File

#!/bin/bash
set -e
echo "Starting development environment for MumBullet"
# Check if Docker is running
if ! docker info > /dev/null 2>&1; then
echo "Error: Docker is not running. Please start Docker and try again."
exit 1
fi
# Start Docker Compose services
cd /home/nate/source/non-work/mumbullet
docker-compose up -d
echo "Development environment started. You can now run the bot with:"
echo "dart run bin/mumbullet.dart --config test/fixtures/test_config.json"
echo ""
echo "To stop the environment, run: docker-compose down"