Add script to run

master
earnest ma 2022-05-19 15:02:43 -04:00
parent 67935a5b0c
commit 13eb8ad46a
Signed by: earnest ma
GPG Key ID: A343F43342EB6E2A
1 changed files with 14 additions and 0 deletions

14
run.sh Executable file
View File

@ -0,0 +1,14 @@
#!/usr/bin/env bash
if [ ! -d venv ]; then
echo "Creating virtualenv and installing requirements"
python3 -m venv venv
venv/bin/pip3 install -r requirements.txt
fi
venv/bin/python3 autodoist.py \
-a $(cat .api-token) \
-l Next \
-r 2 \
-e 1 \
--delay 7