Browse Source

Update scripts

1Mike21 1 năm trước cách đây
mục cha
commit
cac3fb6faa
4 tập tin đã thay đổi với 23 bổ sung11 xóa
  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 ..