diff --git a/README.md b/README.md index df58be1..0f7bd73 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,6 @@ First clone or [download the latest release](https://github.com/Demindiro/agrepe Then setup with: ``` -make ./init_sqlite.sh forum.db ``` diff --git a/init_sqlite.sh b/init_sqlite.sh index 21a8dcc..4ee3f6b 100755 --- a/init_sqlite.sh +++ b/init_sqlite.sh @@ -5,6 +5,9 @@ PYTHON=python3 set -e +make +. ./venv/bin/activate + if [ $# -le 0 ] then echo "Usage: $0 [--no-admin]" >&2 diff --git a/run_sqlite.sh b/run_sqlite.sh index 34cce80..d1b5c79 100755 --- a/run_sqlite.sh +++ b/run_sqlite.sh @@ -14,6 +14,8 @@ then exit 1 fi +. ./venv/bin/activate + export DB="$1" export SERVER=gunicorn export PID="$2"