install_unix.sh 684 B

123456789101112131415
  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 master https://git.sharix-app.org/ShariX_Open/sharix-open-local.git openlocal
  5. git clone -b master https://git.sharix-app.org/ShariX_Open/sharix-open-config.git conf
  6. python3 -m venv env
  7. source env/bin/activate
  8. pip3 install --upgrade pip
  9. pip3 install -r requirements.txt
  10. python3 manage.py makemigrations
  11. python3 manage.py migrate
  12. python3 manage.py collectstatic
  13. python3 manage.py createsuperuser
  14. deactivate
  15. cp conf/sharix_open.service /etc/systemd/system/