install_unix.sh 796 B

123456789101112131415161718192021
  1. #!/bin/bash
  2. git clone https://git.sharix-app.org/ShariX_Open/sharix-open-tickets.git
  3. git checkout unstable
  4. git clone https://git.sharix-app.org/ShariX_Open/sharix-open-backend.git
  5. git checkout metasynced_module
  6. git clone https://git.sharix-app.org/ShariX_Open/sharix-open-local.git
  7. git checkout unstable
  8. git clone https://git.sharix-app.org/ShariX_Open/sharix-open-config.git
  9. git checkout unstable
  10. git clone https://git.sharix-app.org/ShariX_Open/sharix-open-webservice-running.git
  11. git checkout unstable
  12. python3 -m venv env
  13. source env/bin/activate
  14. pip3 install --upgrade pip
  15. pip3 install -r requirements.txt
  16. python3 manage.py makemigrations
  17. python3 manage.py migrate
  18. python3 manage.py collectstatic
  19. python3 manage.py createsuperuser
  20. deactivate
  21. cp conf/sharix_open.service /etc/systemd/system/