diff --git a/_inst.sh b/_inst.sh index 4a4fe8f..8432406 100755 --- a/_inst.sh +++ b/_inst.sh @@ -31,4 +31,5 @@ inst_module "libcrypt" inst_module "gateway" inst_module "static" inst_module "dnfs" +inst_module "db" inst_module "core" # core last diff --git a/db/_run.sh b/db/_run.sh index 22ee059..201be20 100644 --- a/db/_run.sh +++ b/db/_run.sh @@ -1,5 +1,5 @@ #!/bin/bash cd "$(dirname "$0")" || exit source ./venv/bin/activate -exec ./main.bin -#exec python3 main.py +#exec ./main.bin +exec python3 main.py diff --git a/db/_set.sh b/db/_set.sh index 477ce1c..df0445e 100644 --- a/db/_set.sh +++ b/db/_set.sh @@ -3,4 +3,4 @@ cd "$(dirname "$0")" || exit python3 -m venv venv source venv/bin/activate pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple -nuitka --onefile --jobs=1 main.py +#nuitka main.py diff --git a/db/requirements.txt b/db/requirements.txt index 76903dd..10f0a5d 100644 --- a/db/requirements.txt +++ b/db/requirements.txt @@ -1,3 +1,4 @@ nuitka flask +SQLAlchemy waitress