install_unix.sh 906 B

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