소스 검색

add venv for handlers

blezz-tech 1 일 전
부모
커밋
242aa1b64c
1개의 변경된 파일7개의 추가작업 그리고 0개의 파일을 삭제
  1. 7 0
      bin/install_handlers.sh

+ 7 - 0
bin/install_handlers.sh

@@ -2,6 +2,13 @@ source ./bin/utils/functions.sh
 source .env
 source webservice_running/handlers/config.env
 
+(
+  cd webservice_running/handlers
+  python -m venv .venv
+  source .venv/bin/activate
+  pip install -r requirements.txt
+)
+
 echo_warning "Installation handlers"
 
 echo_warning "Recreating sharix.service"