Procházet zdrojové kódy

Updated install scripts

1Mike21 před 1 rokem
rodič
revize
7e536ed9b5
2 změnil soubory, kde provedl 21 přidání a 11 odebrání
  1. 10 5
      install_unix.sh
  2. 11 6
      install_win.bat

+ 10 - 5
install_unix.sh

@@ -1,9 +1,14 @@
 #!/bin/bash
-git clone -b unstable https://git.sharix-app.org/ShariX_Open/sharix-open-tickets.git 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
+git clone https://git.sharix-app.org/ShariX_Open/sharix-open-tickets.git 
+git checkout unstable
+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
+git clone https://git.sharix-app.org/ShariX_Open/sharix-open-config.git
+git checkout unstable 
+git clone https://git.sharix-app.org/ShariX_Open/sharix-open-webservice-running.git
+git checkout unstable 
 python3 -m venv env
 source env/bin/activate
 pip3 install --upgrade pip

+ 11 - 6
install_win.bat

@@ -1,8 +1,13 @@
 @echo off
-git clone -b unstable https://git.sharix-app.org/ShariX_Open/sharix-open-webapp-design-template.git design_template 
-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
+git clone https://git.sharix-app.org/ShariX_Open/sharix-open-tickets.git 
+git checkout unstable
+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
+git clone https://git.sharix-app.org/ShariX_Open/sharix-open-config.git
+git checkout unstable 
+git clone https://git.sharix-app.org/ShariX_Open/sharix-open-webservice-running.git
+git checkout unstable 
 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
+.\env\Scripts\activate && pip install -r requirements.txt && python manage.py makemigrations && python manage.py migrate && python manage.py createsuperuser && python manage.py runserver