From 0972fa6eab8c9111311f082ba8abfdc6b4a40945 Mon Sep 17 00:00:00 2001 From: nil Date: Wed, 2 Oct 2024 17:48:56 +0200 Subject: commit changes --- scripts/populate.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 scripts/populate.sh (limited to 'scripts/populate.sh') 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 -- cgit v1.2.3