Переглянути джерело

Updated scripts and README

1Mike21 1 рік тому
батько
коміт
1945742b22
5 змінених файлів з 8 додано та 3 видалено
  1. 1 1
      README.md
  2. 1 0
      install_unix.sh
  3. 1 1
      install_win.bat
  4. 3 0
      update_unix.sh
  5. 2 1
      update_win.bat

+ 1 - 1
README.md

@@ -34,7 +34,7 @@ from pathlib import Path
 import os
 BASE_DIR = Path(__file__).resolve().parent.parent
 STATIC_URL = '/static/'
-STATICFILES_DIRS = [BASE_DIR / "SharixAdmin/static/", BASE_DIR / "tickets/static/"]
+[BASE_DIR / "SharixAdmin/static/", BASE_DIR / "tickets/static/", BASE_DIR /"design_template/static"]
 STATIC_ROOT = os.path.join(BASE_DIR, "staticfiles")
 ```
 3) Run a **install_win.bat**

+ 1 - 0
install_unix.sh

@@ -3,6 +3,7 @@ git clone -b unstable https://git.sharix-app.org/ShariX_Open/sharix-open-tickets
 git clone -b metasynced_module https://git.sharix-app.org/ShariX_Open/sharix-open-backend.git metaservicesynced
 git clone -b master https://git.sharix-app.org/ShariX_Open/sharix-open-local.git openlocal
 git clone -b master https://git.sharix-app.org/ShariX_Open/sharix-open-config.git conf
+git clone -b unstable https://git.sharix-app.org/ShariX_Open/sharix-open-webservice-running.git
 python3 -m venv env
 source env/bin/activate
 pip3 install --upgrade pip

+ 1 - 1
install_win.bat

@@ -3,6 +3,6 @@ git clone -b unstable https://git.sharix-app.org/ShariX_Open/sharix-open-webapp-
 git clone -b unstable http://git.sharix-app.org/ShariX_Open/sharix-open-tickets.git tickets
 git clone -b metasynced_module http://git.sharix-app.org/ShariX_Open/sharix-open-backend.git metaservicesynced
 git clone -b master https://git.sharix-app.org/ShariX_Open/sharix-open-local.git openlocal
-
+git clone -b unstable https://git.sharix-app.org/ShariX_Open/sharix-open-webservice-running.git
 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

+ 3 - 0
update_unix.sh

@@ -10,4 +10,7 @@ git pull
 cd ..
 cd openlocal/
 git pull
+cd ..
+cd webservice_running/
+git pull
 cd ..

+ 2 - 1
update_win.bat

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