install_unix.sh 937 B

12345678910111213141516171819202122232425262728293031
  1. #!/bin/bash
  2. cd design_template/
  3. git clone https://git.sharix-app.org/ShariX_Open/sharix-open-webapp-design-template.git
  4. git checkout unstable
  5. cd ..
  6. cd tickets/
  7. git clone https://git.sharix-app.org/ShariX_Open/sharix-open-tickets.git
  8. git checkout unstable
  9. git cd ..
  10. cd metaservicesynced/
  11. git clone https://git.sharix-app.org/ShariX_Open/sharix-open-backend.git
  12. git checkout unstable
  13. cd ..
  14. cd sharix-open-config/
  15. git clone https://git.sharix-app.org/ShariX_Open/sharix-open-config.git
  16. git checkout unstable
  17. cd ..
  18. cd webservice_running/
  19. git clone https://git.sharix-app.org/ShariX_Open/sharix-open-webservice-running.git
  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 conf/sharix_open.service /etc/systemd/system/