summaryrefslogtreecommitdiff
path: root/scripts/populate.sh
blob: d8ccf8d6074d6617263286777310c38bb9d36af6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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