install_unix.sh 1023 B

12345678910111213141516171819202122232425262728293031
  1. #!/bin/bash
  2. git clone https://git.sharix-app.org/ShariX_Open/sharix-open-webapp-design-template.git design_template
  3. cd design_template
  4. git checkout unstable
  5. cd ..
  6. git clone https://git.sharix-app.org/ShariX_Open/sharix-open-tickets.git tickets
  7. cd tickets
  8. git checkout unstable
  9. cd ..
  10. git clone https://git.sharix-app.org/ShariX_Open/sharix-open-backend.git metaservicesynced
  11. cd metaservicesynced
  12. git checkout unstable
  13. cd ..
  14. git clone https://git.sharix-app.org/ShariX_Open/sharix-open-config.git sharix-open-config
  15. cd sharix-open-config
  16. git checkout unstable
  17. cd ..
  18. git clone https://git.sharix-app.org/ShariX_Open/sharix-open-webservice-running.git webservice_running
  19. cd webservice_running
  20. git checkout unstable
  21. cd ..
  22. python3 -m venv env
  23. source env/bin/activate
  24. pip3 install --upgrade pip
  25. pip3 install -r requirements.txt
  26. python3 manage.py makemigrations
  27. python3 manage.py migrate
  28. python3 manage.py collectstatic
  29. #python3 manage.py createsuperuser
  30. deactivate
  31. cp sharix-open-config/sharix_open.service /etc/systemd/system/