The auto-deploy script provides an automatic deploy and configuration of new DMS installations with minimal administrative requirements.
The technology is based on git repositories for which each client will have one. The git repository contains all configuration files that are pulled to the client system and then the auto-deploy script is run. Given client specific configuration repositories are hosted at Practice Insight private servers, only users having credentials assigned by PI will have access.
For deployment of new empty DMS or restoring from backup, check here.
For importing an existing document store into a new empty DMS, check here.
Note: Following the setup of the DMS using the Auto-deploy method, to finish the email setup, you should modify the environment specific settings in the settings.xml file in the nuxeo repository. Please check here for further information.
The following describes the overall functionality/use.
Note that http access to the below repositories is only available from inside the Practice Insight network. The repositories can, however, be read/written by git through the links given in the pages linked above.
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
If you downloaded the base OVA after 2017-06-01, you can run a scripted update command on all three scripts by issuing "./update_scripts.sh"
from the home directory of the root user. If you downloaded your base OVA before that, your scripts need to be updated manually by cd'ing into their respective directory and running the "git pull"
command.
containers.conf, dms.conf,
and, if applicable, postfix-config.sh
will need to be made. Edits to the remaining files (e.g. commands.conf
) will be rare and only required in special situations. They should only be made if you are sure you understand what you are doing. Make sure changes are pushed back to repository;/storage/nuxeo/fonts/
(unless you are using a different storage location; if so, adapt accordingly);~/deploy/config/
to store configuration files and clone client specific repository into this folder;~/deploy/deploy_script/
to store deploy script logic files and clone client specific repository into this folder;Copy any fonts you intend using to the storage location (default is /storage/nuxeo/fonts/
);
~/deploy/deploy_script/
folder and run "./deploy.sh
" with necessary options.~/deploy/config/
and edit configuration file containers.conf
to define the version that should be deployed. Make sure changes are pushed back to repository;~/deploy/deploy_script/
folder and run "./deploy.sh
" with necessary options.dms.conf
";Options can be combined.
./deploy.sh es postgres nuxeo -rmc -rmi ./deploy.sh nuxeo cb -rmc ./deploy.sh nuxeo cb -rmc -rmi -vvv |
deploy.sh
script will check if modifications have been made to the files in ~/deploy/config/ that have not been committed/pushed to the client specific git repository (ie. if there is discrepancy between the origin of the client specific git repository and the local configuration files). If such is the case, deploy.sh will not execute but output a corresponding warning and quit. It is important to commit local changes to the repository. After that, run "./deploy.sh
" again.