소스 검색

using webapp-abse branch from cfg file

blezz-tech 3 일 전
부모
커밋
047c170c27
2개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      bin/install.cfg.example
  2. 3 0
      bin/install.sh

+ 1 - 0
bin/install.cfg.example

@@ -17,6 +17,7 @@ LANDING="https://git.sharix-app.org/ShariX_Open/sharix-open-landing.git"
 
 
 
 
 #Branches for repos
 #Branches for repos
+WEBAPP_BASE_BRANCH="master"
 
 
 TICKETS_BRANCH="master"
 TICKETS_BRANCH="master"
 BACKEND_BRANCH="master"
 BACKEND_BRANCH="master"

+ 3 - 0
bin/install.sh

@@ -42,6 +42,9 @@ update_repository "$DESIGN_TEMPLATE"    "design_template"    "$DESIGN_TEMPLATE_B
 update_repository "$WEBSERVICE_RUNNING" "webservice_running" "$WEBSERVICE_RUNNING_BRANCH"
 update_repository "$WEBSERVICE_RUNNING" "webservice_running" "$WEBSERVICE_RUNNING_BRANCH"
 update_repository "$LANDING"            "landing"            "$LANDING_BRANCH"
 update_repository "$LANDING"            "landing"            "$LANDING_BRANCH"
 update_repository "$USER_MODEL"         "user"               "$USER_MODEL_BRANCH"
 update_repository "$USER_MODEL"         "user"               "$USER_MODEL_BRANCH"
+
+# Update webapp-base repository
+git checkout "$WEBAPP_BASE_BRANCH"
 git pull
 git pull
 
 
 # Create a Python virtual environment and activate it
 # Create a Python virtual environment and activate it