Check the honeur website at: https://www.honeur.org
HONEUR-Setup is a public repository. This repository is used for files that can be downloaded without restrictions
One of the following operating systems should be installed on the host machine:
- Windows 10, or
- Linux (Ubuntu, Debian, CentOS or Fedora), or
- MacOS
Docker should be installed on the host machine
- Windows 10: https://docs.docker.com/docker-for-windows/install/
- Linux: https://docs.docker.com/install/linux/docker-ce/ubuntu/
- MacOS: https://docs.docker.com/docker-for-mac/install/
- Cloud:
The installer should have a Docker Hub account with read access on the HONEUR repository: https://hub.docker.com/u/honeur
- Open a terminal window (Command Prompt on Windows)
- Download the installation file
- For Windows:
curl -L https://raw.githubusercontent.com/solventrix/Honeur-Setup/master/standard/start-honeur.cmd --output start-honeur.cmd - For Linux and Mac:
curl -L https://raw.githubusercontent.com/solventrix/Honeur-Setup/master/standard/start-honeur.sh --output start-honeur.sh && chmod +x start-honeur.sh
- For Windows:
- Run start-honeur.sh (on Linux or Mac) or start-honeur.cmd (on Windows)
- The program will prompt you for username and password for your docker account. Make sure this docker account has read access on the honeur images. If you are already logged in to docker, the program will automatically use the existing credentials.
- Press Enter to remove existing webapi, zeppelin and postgres container.
- After the program has downloaded the docker-compose.yml file, it will prompt you to give a Fully Qualified Domain Name(FQDN) or IP Address of the host machine. Atlas will only be accessible on the host machine (via localhost) if you fill in localhost.
- The program will prompt you to give the directory of where to store the zeppelin log files and notebooks.
- The Postgres database, Atlas, Zeppelin will be downloaded and started as Docker container.
- Open a terminal window (Command Prompt on Windows)
- Download the installation file
- For Windows:
curl -L https://raw.githubusercontent.com/solventrix/Honeur-Setup/master/secure/start-honeur-secure.cmd --output start-honeur.cmd - For Linux and Mac:
curl -L https://raw.githubusercontent.com/solventrix/Honeur-Setup/master/secure/start-honeur-secure.sh --output start-honeur.sh && chmod +x start-honeur.sh
- For Windows:
- Run start-honeur-secure.sh (on Linux or Mac) or start-honeur-secure.cmd (on Windows)
- The program will prompt you for username and password for your docker account. Make sure this docker account has read access on the honeur images. If you are already logged in to docker, the program will automatically use the existing credentials.
- Press Enter to remove existing webapi, zeppelin and postgres container.
- After the program has downloaded the docker-compose.yml file, it will prompt you to give a Fully Qualified Domain Name(FQDN) or IP Address of the host machine. Atlas and user management will only be accessible on the host machine (via localhost) if you fill in localhost.
- The program will prompt you to give the directory of where to store the zeppelin log files and notebooks.
- The program will prompt you for choosing between ldap or jdbc connection for authentication. if you choose jdbc skip 8. if you choose ldap, the program will prompt you to give the following ldap properties:
- security.ldap.url: ldap://ldap.forumsys.com:389
- security.ldap.system.username: cn=read-onlyadmin,dc=example,dc=com
- security.ldap.system.password: password
- security.ldap.baseDn: dc=example,dc=com
- security.ldap.dn: uid={0},dc=example,dc=com
- The program will prompt you for the following user management properties:
- usermgmt admin username: admin
- usermgmt admin password: admin
- The Postgres database, Atlas, Zeppelin and a User Mgmt applications will be downloaded and started as Docker containers
when all custom data is imported, it is recommended that the constraints and indexes are imported on the OMOP CDM tables. This will improve the speed and decrease the risk of corrupt data in the database.
- Open a terminal window (Command Prompt on Windows)
- Download the installation file
- For Windows:
curl -L https://raw.githubusercontent.com/solventrix/Honeur-Setup/master/start-omopcdm-indexes-and-constraints.cmd --output start-omopcdm-indexes-and-constraints.cmd - For Linux and Mac:
curl -L https://raw.githubusercontent.com/solventrix/Honeur-Setup/master/start-omopcdm-indexes-and-constraints.sh --output start-omopcdm-indexes-and-constraints.sh && chmod +x start-omopcdm-indexes-and-constraints.sh
- For Windows:
- Run start-omopcdm-indexes-and-constraints.sh (on Linux or Mac) or start-omopcdm-indexes-and-constraints.cmd (on Windows)
- The program will prompt you for username and password for your docker account. Make sure this docker account has read access on the honeur images. If you are already logged in to docker, the program will automatically use the existing credentials.
- Press Enter to remove existing omop-indexes-and-constraints container.
- After the program has downloaded the docker-compose.yml and setup-conf/setup.yml files, it will start importing the indexes and constraints on the OMOP CDM tables.
When new custom concepts are available, they can be easily loaded in the OMOP CDM database.
- Open a terminal window (Command Prompt on Windows)
- Download the installation file
- For Windows:
curl -L https://raw.githubusercontent.com/solventrix/Honeur-Setup/master/start-omopcdm-custom-concepts-update.cmd --output start-omopcdm-custom-concepts-update.cmd - For Linux and Mac:
curl -L https://raw.githubusercontent.com/solventrix/Honeur-Setup/master/start-omopcdm-custom-concepts-update.sh --output start-omopcdm-custom-concepts-update.sh && chmod +x start-omopcdm-custom-concepts-update.sh
- For Windows:
- Run start-omopcdm-custom-concepts-update.sh (on Linux or Mac) or start-omopcdm-custom-concepts-update.cmd (on Windows)
- The program will prompt you for username and password for your docker account. Make sure this docker account has read access on the honeur images. If you are already logged in to docker, the program will automatically use the existing credentials.
- Press Enter to remove the existing omop-cdm-custom-concepts container.
- After the program has downloaded the docker-compose.yml and setup-conf/setup.yml files, it will start importing the custom concepts in the OMOP CDM database.
QA database can be used as a test database. It's an exact replica of the full database installed with the script start-honeur.cmd (on windows) or start-honeur.sh (on Linux or Mac). It is primarily used for testing scripts on the data in OMOP CDM schema.
- Open a terminal window (Command Prompt on Windowssh
- Download the installation file
- For Windows:
curl -L https://raw.githubusercontent.com/solventrix/Honeur-Setup/master/start-qa-database.cmd --output start-qa-database.cmd - For Linux and Mac:
curl -L https://raw.githubusercontent.com/solventrix/Honeur-Setup/master/start-qa-database.sh --output start-qa-database.sh && chmod +x start-qa-database.sh
- For Windows:
- Run start-qa-database.sh (on Linux or Mac) or start-qa-database.cmd (on Windows)
- The program will prompt you for username and password for your docker account. Make sure this docker account has read access on the honeur images. If you are already logged in to docker, the program will automatically use the existing credentials.
- Press Enter to remove existing postgres-qa and webapi-source-qa-enable container.
- After the program has downloaded the docker-compose.yml and setup-conf/setup.yml files, it will start initializing the QA database and insert the source of the QA database inside the original database.
- Restart webapi/atlas container to make the source available in the webapi/atlas instance. Do this using the following command: docker restart webapi
- Open a terminal window (Command Prompt on Windows)
- Download the installation file
- For Windows:
curl -L https://raw.githubusercontent.com/solventrix/Honeur-Setup/master/remove-qa-database.cmd --output remove-qa-database.cmd - For Linux and Mac:
curl -L https://raw.githubusercontent.com/solventrix/Honeur-Setup/master/remove-qa-database.sh --output remove-qa-database.sh && chmod +x remove-qa-database.sh
- For Windows:
- Run remove-qa-database.sh (on Linux or Mac) or remove-qa-database.cmd (on Windows)
- The program will prompt you for username and password for your docker account. Make sure this docker account has read access on the honeur images. If you are already logged in to docker, the program will automatically use the existing credentials.
- Press Enter to remove existing postgres-qa and webapi-source-qa-disable container.
- After the program has downloaded the docker-compose.yml and setup-conf/setup.yml files, it will start removing the QA database and removing the source of the QA database inside the original database.
Download and run the script 'backup-database.sh':
curl -L https://raw.githubusercontent.com/solventrix/Honeur-Setup/master/backup-database.sh --output backup-database.sh && chmod +x backup-database.sh
The backup script will create a tar file name 'postgres_backup_<date_time>.tar.bz2' in the current directory. Creating the backup file can take a long time depending on the size of the database. Copy the backup file to a save location for long term storage.
Download the script 'restore-database.sh'
curl -L https://raw.githubusercontent.com/solventrix/Honeur-Setup/master/restore-database.sh --output restore-database.sh && chmod +x restore-database.sh
Run the script and provide the name of the backup file as parameter. The name of the target volume can be provided as a second argument. The backup will be restored in the pgdata volume if the target volume is not provided. The backup file should be present in the folder where the script is executed.
./restore-database postgres_backup_<date_time>.tar.bz2
The database volume can be copied to a new volume (with a different name) to take a snapshot of the current database state. Download the script 'clone-volume.sh'
curl -L https://raw.githubusercontent.com/solventrix/Honeur-Setup/master/clone-volume.sh --output clone-volume.sh && chmod +x clone-volume.sh
Run the script, provide the source volume as first parameter and the target volume as second parameter.
./clone-volume.sh pgdata pgdata_snapshot1