Răsfoiți Sursa

Updated scripts and README

1Mike21 1 an în urmă
părinte
comite
1945742b22
5 a modificat fișierele cu 8 adăugiri și 3 ștergeri
  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 ..