Git repositories involved in the process are:
- Deploy script: This contains the script logic.
https://stash.practiceinsight.io/stash/projects/DMSCLIENT/repos/deploy_script/browse - Default template: This contains a template for the client-specific configuration repository.
https://stash.practiceinsight.io/stash/projects/DMSCLIENT/repos/default_config/browse - Client repository: This will contain the client specific repo.
https://stash.practiceinsight.io/stash/projects/DMSCLIENT/repos/<clientname>/browse - Restore script repository: This contains the script and service files to create new document repository.
https://stash.practiceinsight.io/stash/projects/DMSCLIENT/repos/restore_script/browse
Base installation method:
- Fork Default template to client specific repository with <clientname>;
- Edit configuration files in client specific git repository as required for specific client’s DMS environment – make sure changes are pushed to repository;
Clone client specific repository to the ~/deploy/config/ folder to store configuration files (be sure to change ${clientname} variable in the command to the real client name):
git clone ssh://git@stash.practiceinsight.io:7999/dmsclient/${clientname}.git ~/deploy/config
Clone deploy script repository to the ~/deploy/deploy_script/ to store deploy script logic files;
git clone ssh://git@stash.practiceinsight.io:7999/dmsclient/deploy_script.git ~/deploy/deploy_script
Clone restore script repository to the ~/deploy/restore_script/ to store restore script logic files;
git clone ssh://git@stash.practiceinsight.io:7999/dmsclient/restore_script.git ~/deploy/restore_script
Go to the ~/deploy/restore_script/ and start restore.sh;