install_unix.sh 808 B

12345678910111213141516
  1. #!/bin/bash
  2. git clone -b unstable https://git.sharix-app.org/ShariX_Open/sharix-open-tickets.git tickets
  3. git clone -b metasynced_module https://git.sharix-app.org/ShariX_Open/sharix-open-backend.git metaservicesynced
  4. git clone -b webinterface https://git.sharix-app.org/ShariX_Open/sharix-open-webadmin.git SharixAdmin/templates/SharixAdmin
  5. git clone -b master https://git.sharix-app.org/ShariX_Open/sharix-open-local.git openlocal
  6. git clone -b master https://git.sharix-app.org/ShariX_Open/sharix-open-config.git conf
  7. python3 -m venv env
  8. source env/bin/activate
  9. pip3 install --upgrade pip
  10. pip3 install -r requirements.txt
  11. python3 manage.py makemigrations
  12. python3 manage.py migrate
  13. python3 manage.py collectstatic
  14. python3 manage.py createsuperuser
  15. deactivate
  16. cp conf/sharix_open.service /etc/systemd/system/