ソースを参照

Update on links with new file config

stucked_s 1 年間 前
コミット
f40bc7dd5e
2 ファイル変更17 行追加7 行削除
  1. 7 0
      bin/_config
  2. 10 7
      bin/install.sh

+ 7 - 0
bin/_config

@@ -0,0 +1,7 @@
+TICKETS="https://giticket-t.sharix-app.org/ShariX_Open/sharix-open-tickets.git"
+BACKEND="https://git.sharix-app.org/ShariX_Open/sharix-open-backend.git"
+CONFIG="https://git.sharix-app.org/ShariX_Open/sharix-open-config.git"
+DESIGN_TEMPLATE="https://git.sharix-app.org/ShariX_Open/sharix-open-webapp-design-template.git"
+WEBSERVICE_RUNNING="https://git.sharix-app.org/ShariX_Open/sharix-open-webservice-running.git"
+LANDING="https://git.sharix-app.org/ShariX_Open/sharix-open-landing.git"
+USER_MODEL="https://git.sharix-app.org/ShariX_Open/sharix-open-user-model.git"

+ 10 - 7
bin/install.sh

@@ -1,5 +1,7 @@
 #!/bin/bash
 
+source bin/config
+
 # Function to check if a repository exists and perform git pull or git clone
 update_repository() {
     local repo_url="$1"
@@ -20,13 +22,14 @@ update_repository() {
 }
 
 # Update repositories
-update_repository "https://git.sharix-app.org/ShariX_Open/sharix-open-tickets.git" "tickets" "master"
-update_repository "https://git.sharix-app.org/ShariX_Open/sharix-open-backend.git" "dbsynce" "metasynced_module"
-update_repository "https://git.sharix-app.org/ShariX_Open/sharix-open-config.git" "conf" "master"
-update_repository "https://git.sharix-app.org/ShariX_Open/sharix-open-webapp-design-template.git" "design_template" "unstable"
-update_repository "https://git.sharix-app.org/ShariX_Open/sharix-open-webservice-running.git" "webservice_running" "unstable"
-update_repository "https://git.sharix-app.org/ShariX_Open/sharix-open-landing.git" "landing" "landing_module"
-update_repository "https://git.sharix-app.org/ShariX_Open/sharix-open-user-model.git" "user" "master"
+update_repository "$TICKETS" "tickets" "master"
+update_repository "$BACKEND" "dbsynce" "metasynced_module"
+update_repository "$CONFIG" "conf" "master"
+update_repository "$DESIGN_TEMPLATE" "design_template" "unstable"
+update_repository "$WEBSERVICE_RUNNING" "webservice_running" "unstable"
+update_repository "$LANDING" "landing" "new-version"
+update_repository "$USER_MODEL" "user" "master"
+update_repository "$WEBAPP_BASE" "design_template" "unstable"
 git pull
 
 # Create a Python virtual environment and activate it