summaryrefslogtreecommitdiff
path: root/scripts/populate.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/populate.sh')
-rw-r--r--scripts/populate.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/populate.sh b/scripts/populate.sh
new file mode 100644
index 0000000..d8ccf8d
--- /dev/null
+++ b/scripts/populate.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+echo activate virtual environment? \(source ~/.venv/bin/activate\) [y/n]
+read answer
+
+if [[ $answer == 'y' ]] then
+ source ~/.venv/bin/activate
+fi
+
+python3 scripts/populate/main.py
+
+if [[ $answer == 'y' ]] then
+ deactivate
+fi