Create links to the actual directories as needed * ./srv/aether_api * ./srv/aether_app * ./srv/hosted_files * ./srv/mariadb * ./srv/nextcloud * ./srv/oneskyit_site * ./srv/static_files git clone https://scott_idem@bitbucket.org/oneskyit/one-sky-it-api-fastapi.git /srv/http/aether_api_fastapi/ git pull origin development git clone https://scott_idem@bitbucket.org/oneskyit/one-sky-it-app.git /srv/http/aether_app/ git pull origin development git status ## Create links examples ### Flask App ```bash ln -s /srv/http/dev_app.oneskyit.com /srv/env/test_aether/srv/aether_app_ln ln -s ~/OSIT_dev/aether_app ~/OSIT_dev/aether_container_env/srv/aether_app_ln ``` ### FastAPI API ```bash ln -s /srv/http/dev_fastapi.oneskyit.com /srv/env/test_aether/srv/aether_api_ln ln -s ~/OSIT_dev/aether_api_fastapi ~/OSIT_dev/aether_container_env/srv/aether_api_ln ``` ### Hosted tmp files ```bash ln -s /mnt/data/speaker_ready/hosted_tmp /srv/env/test_aether/srv/hosted_tmp_ln ln -s /mnt/data_drive/srv/data/osit_app/hosted_tmp /home/scott/OSIT_dev/aether_container_env/srv/hosted_tmp_ln ln -s /mnt/data_drive/srv/data/osit_app/hosted_tmp_dev /home/scott/OSIT_dev/aether_container_env/srv/hosted_tmp_ln # scott-laptop-main: ln -s /data/OSIT/hosted_tmp /home/scott/OSIT_dev/aether_container_env/srv/hosted_tmp_ln ``` ### Hosted (hashed) files ```bash ln -s /mnt/data/speaker_ready/hosted_files /srv/env/test_aether/srv/hosted_files_ln ln -s /mnt/data_drive/srv/data/osit_app/hosted_files /home/scott/OSIT_dev/aether_container_env/srv/hosted_files_ln ln -s /mnt/data_drive/srv/data/osit_app/hosted_files_dev /home/scott/OSIT_dev/aether_container_env/srv/hosted_files_ln # scott-laptop-main: ln -s /data/OSIT/hosted_files /home/scott/OSIT_dev/aether_container_env/srv/hosted_files_ln ``` ### MariaDB ```bash sudo rsync -vhr -progress /var/lib/mysql/ /srv/env/test_aether/srv/mariadb/ rsync -v /var/lib/mysql/ /srv/env/test_aether/srv/mariadb/ sudo chown -R scott:scott /srv/env/test_aether/srv/mariadb/ ```