Files
ppr-ng/populate_test_data.sh
2025-10-25 15:10:54 +00:00

16 lines
445 B
Bash
Executable File

#!/bin/bash
# Script to populate test data in the PPR database
# Run this from the nextgen directory
echo "Populating test data..."
# Check if we're in the right directory
if [ ! -f "docker-compose.yml" ]; then
echo "Error: Please run this script from the nextgen directory"
exit 1
fi
# Run the population script in the backend container
sudo docker compose exec api python populate_test_data.py
echo "Test data population complete!"