git clone git@github.com:medizininformatik-initiative/INTERPOLAR.git
git clone https://github.com/medizininformatik-initiative/INTERPOLAR.git
cd INTERPOLAR
git checkout release
cp Postgres-cds_hub/template_env_cds_hub_db_admin.password Postgres-cds_hub/.env_cds_hub_db_admin.password
cp REDCap-db/template_env_redcap_db.password REDCap-db/.env_redcap_db.password
cp REDCap-db/template_env_redcap_db_root.password REDCap-db/.env_redcap_db_root.password
docker-compose up
docker-compose up --build
cat $(find Postgres-cds_hub/init -maxdepth 1 -name '*.sql' | sort) | docker compose exec -T cds_hub psql -U cds_hub_db_admin -d cds_hub_db
Bei einem Upgrade der CDS Tool Chain ist in der Regel einer Aktualisierung der Datenbank (Migration) erforderlich, welche über den folgenden Befehl aufgerufen wird:
docker compose exec -w /cds_hub-initdb.d cds_hub psql -U cds_hub_db_admin -d cds_hub_db -f ./migration/migration.sql