Activate venv in {run,init}_sqlite
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
|
||||
@@ -5,6 +5,9 @@ PYTHON=python3
|
||||
|
||||
set -e
|
||||
|
||||
make
|
||||
. ./venv/bin/activate
|
||||
|
||||
if [ $# -le 0 ]
|
||||
then
|
||||
echo "Usage: $0 <file> [--no-admin]" >&2
|
||||
|
||||
@@ -14,6 +14,8 @@ then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
. ./venv/bin/activate
|
||||
|
||||
export DB="$1"
|
||||
export SERVER=gunicorn
|
||||
export PID="$2"
|
||||
|
||||
Reference in New Issue
Block a user