瀏覽代碼

Update scripts

1Mike21 1 年之前
父節點
當前提交
cac3fb6faa
共有 4 個文件被更改,包括 23 次插入11 次删除
  1. 12 4
      install_unix.sh
  2. 11 3
      install_win.bat
  3. 0 3
      update_unix.sh
  4. 0 1
      update_win.bat

+ 12 - 4
install_unix.sh

@@ -1,16 +1,24 @@
 #!/bin/bash
+cd design_template/
 git clone https://git.sharix-app.org/ShariX_Open/sharix-open-webapp-design-template.git
 git checkout unstable
+cd ..
+cd tickets/
 git clone https://git.sharix-app.org/ShariX_Open/sharix-open-tickets.git 
 git checkout unstable
+git cd ..
+cd metaservicesynced/
 git clone https://git.sharix-app.org/ShariX_Open/sharix-open-backend.git
-git checkout metasynced_module
-git clone https://git.sharix-app.org/ShariX_Open/sharix-open-local.git
 git checkout unstable
+cd ..
+cd sharix-open-config/
 git clone https://git.sharix-app.org/ShariX_Open/sharix-open-config.git
-git checkout unstable 
+git checkout unstable
+cd ..
+cd webservice_running/
 git clone https://git.sharix-app.org/ShariX_Open/sharix-open-webservice-running.git
-git checkout unstable 
+git checkout unstable
+cd .. 
 python3 -m venv env
 source env/bin/activate
 pip3 install --upgrade pip

+ 11 - 3
install_win.bat

@@ -1,15 +1,23 @@
 @echo off
+cd design_template/
 git clone https://git.sharix-app.org/ShariX_Open/sharix-open-webapp-design-template.git
 git checkout unstable
+cd ..
+cd tickets/
 git clone https://git.sharix-app.org/ShariX_Open/sharix-open-tickets.git 
 git checkout unstable
+cd ..
+cd metaservicesynced/
 git clone https://git.sharix-app.org/ShariX_Open/sharix-open-backend.git
-git checkout metasynced_module
-git clone https://git.sharix-app.org/ShariX_Open/sharix-open-local.git
 git checkout unstable
+cd ..
+cd sharix-open-config/
 git clone https://git.sharix-app.org/ShariX_Open/sharix-open-config.git
-git checkout unstable 
+git checkout unstable
+cd ..
+cd webservice_running/ 
 git clone https://git.sharix-app.org/ShariX_Open/sharix-open-webservice-running.git
 git checkout unstable 
+cd ..
 python -m venv env
 .\env\Scripts\activate && pip install -r requirements.txt && python manage.py makemigrations && python manage.py migrate && python manage.py createsuperuser && python manage.py runserver

+ 0 - 3
update_unix.sh

@@ -8,9 +8,6 @@ cd ..
 cd metaservicesynced/
 git pull
 cd ..
-cd openlocal/
-git pull
-cd ..
 cd webservice_running/
 git pull
 cd ..

+ 0 - 1
update_win.bat

@@ -3,5 +3,4 @@ git pull
 cd design_template && git pull && cd ..
 cd tickets && git pull && cd ..
 cd metaservicesynced && git pull && cd ..
-cd openlocal && git pull && cd ..
 cd webservice_running && git pull && cd ..