aboutsummaryrefslogtreecommitdiffstats
path: root/utility/trunc_and_populate.sh
blob: 40c049b48541e8a9e67a34885026edb9fa4963eb (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/usr/bin/env bash

echo "Truncating the database."
sudo -u postgres psql -f utility/truncate_script.sql ctrack

sleep 1

echo "Populating the database with test data."
python manage.py populate_db