Test data script
This commit is contained in:
16
populate_test_data.sh
Executable file
16
populate_test_data.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/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
|
||||
docker-compose exec backend python populate_test_data.py
|
||||
|
||||
echo "Test data population complete!"
|
||||
Reference in New Issue
Block a user