This page describes the method to use the auto-deploy technology for creating a new empty DMS environment, and for restoring a new DMS environment from a backup.
i) Deploy script: This contains the script logic.
https://stash.practiceinsight.io/stash/projects/DMSCLIENT/repos/deploy_script/browse
ii) Default template: This contains a template for the client-specific configuration repository.
https://stash.practiceinsight.io/stash/projects/DMSCLIENT/repos/default_config/browse
iii) Client repository: This will contain the client specific repo.
https://stash.practiceinsight.io/stash/projects/DMSCLIENT/repos/<clientname>/browse
iii) 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
Clone client specific repository to ~/deploy/config/ to store configuration files (be sure to change ${clientname}
variable to match the client specific repo name):
git clone ssh://git@stash.practiceinsight.io:7999/dmsclient/${clientname}.git ~/deploy/config |
Clone deploy script repository to ~/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 ~/deploy/restore_script/ to store restore script logic files;
git clone ssh://git@stash.practiceinsight.io:7999/dmsclient/restore_script.git ~/deploy/restore_script |
6. Go to the ~/deploy/restore_script/ and start create.sh script;
After successful finish of the script you will get empty nuxeo repository with Patricia workspace created with proper permissions and settings.xml template that can be started with deploy script.
6. Go to the ~/deploy/restore_script/ and set paths to the backup files in config.sh
7. Start create.sh script;