Skip to content

Instantly share code, notes, and snippets.

@gsluthra
Last active August 3, 2024 13:01
Show Gist options
  • Save gsluthra/0cf16e5457e183ae045566f1227d4c5f to your computer and use it in GitHub Desktop.
Save gsluthra/0cf16e5457e183ae045566f1227d4c5f to your computer and use it in GitHub Desktop.
Clone all Bahmni EMR & Hospital system global product code and India ABDM code.
#!/bin/bash
## ------------------
## Bahmni Code Repos
## ------------------
echo "Creating folder: bahmni-global"
mkdir bahmni-global
cd bahmni-global/
## App Frontend and Backend Code
git clone [email protected]:Bahmni/openmrs-module-bahmniapps.git
git clone [email protected]:Bahmni/bahmni-core.git
git clone [email protected]:Bahmni/bahmni-commons-ng.git
git clone [email protected]:Bahmni/bahmni-lab-frontend.git
git clone [email protected]:Bahmni/openmrs-module-bahmni.ie.apps.git
git clone [email protected]:Bahmni/openmrs-module-teleconsultation.git
git clone [email protected]:Bahmni/bahmni-reports.git
git clone [email protected]:Bahmni/openmrs-module-bahmnicommons.git
git clone [email protected]:Bahmni/bahmni-java-utils.git
git clone [email protected]:Bahmni/form-controls.git
git clone [email protected]:Bahmni/implementer-interface.git
git clone [email protected]:Bahmni/openmrs-module-appointments-frontend.git
git clone [email protected]:Bahmni/openmrs-module-appointments.git
git clone [email protected]:Bahmni/openmrs-distro-bahmni.git
git clone [email protected]:Bahmni/default-config.git
git clone [email protected]:Bahmni/clinic-config.git
git clone [email protected]:Bahmni/openmrs-module-fhir2Extension.git
git clone [email protected]:Bahmni/audit-log.git
git clone [email protected]:Bahmni/openmrs-module-idgen-webservices.git
git clone [email protected]:Bahmni/openmrs-module-bedmanagement.git
git clone [email protected]:Bahmni/openmrs-module-emrapi.git
git clone [email protected]:Bahmni/client_side_logging.git
git clone [email protected]:Bahmni/openmrs-module-episodes.git
## Bahmni Connect Offline App
git clone [email protected]:Bahmni/bahmni-connect.git
git clone [email protected]:Bahmni/bahmni-offline-sync.git
git clone [email protected]:Bahmni/bahmni-offline.git
git cloone [email protected]:Bahmni/event-log-service.git
## Billing/Invoicing Crater
git clone [email protected]:Bahmni/crater-atomfeed.git
git clone [email protected]:Bahmni/crater.git
git clone [email protected]:Bahmni/crater-extensions.git
git clone [email protected]:Bahmni/crater-docs.git
## OpenERP/Odoo
git clone [email protected]:Bahmni/openerp-atomfeed-service.git
git clone [email protected]:Bahmni/odoo-modules.git
git clone [email protected]:Bahmni/bahmni_insurance_odoo.git
git clone [email protected]:Bahmni/openerp-modules.git
# PACS Dcm4Chee
git clone [email protected]:Bahmni/pacs-integration.git
git clone [email protected]:Bahmni/pacsquery.git
# OpenELIS Lab
git clone [email protected]:Bahmni/OpenElis.git
## DevOps/Infra Automation
git clone [email protected]:Bahmni/bahmni-docker.git
git clone [email protected]:Bahmni/helm-charts.git
git clone [email protected]:Bahmni/bahmni-infra.git
git clone [email protected]:Bahmni/bahmni-package.git
git clone [email protected]:Bahmni/patient-documents.git
git clone [email protected]:Bahmni/bahmni-scripts.git
git clone [email protected]:Bahmni/utilities.git
git clone [email protected]:Bahmni/bahmni-playbooks.git
git clone [email protected]:Bahmni/bahmni-infra-utils.git
git clone [email protected]:Bahmni/db-setup-helm-chart.git
git clone [email protected]:Bahmni/bahmni-tw-playbooks.git
git clone [email protected]:Bahmni/letsencrypt.git
git clone [email protected]:Bahmni/bahmni-tw-aws.git
git clone [email protected]:Bahmni/bahmni-aws.git
git clone [email protected]:Bahmni/bahmni-vagrant.git
## Misc Documentation
git clone [email protected]:Bahmni/bahmni-decision-records.git
git clone [email protected]:Bahmni/bahmni-diagrams.git
## Test Automation
git clone [email protected]:Bahmni/bahmni-e2e-tests.git
git clone [email protected]:Bahmni/bahmni-e2e-common-flows.git
git clone [email protected]:Bahmni/performance-test.git
git clone [email protected]:Bahmni/emr-functional-tests.git
git clone [email protected]:Bahmni/bahmni-test-data-generator.git
git clone [email protected]:Bahmni/bahmni-appointments-functional-tests.git
# Bahmni Mart
git clone [email protected]:Bahmni/bahmni-mart.git
git clone [email protected]:Bahmni/bahmni-mart-playbook.git
## Speech Assistant
git clone [email protected]:Bahmni/speech-assistant-frontend.git
git clone [email protected]:Bahmni/speech-assistant-package.git
## Bahmni Next O3
git clone [email protected]:Bahmni/bahmni-frontend.git
## Two Factor Auth Module
git clone [email protected]:Bahmni/two-factor-auth.git
git clone [email protected]:Bahmni/bahmni-sms-plugins.git
## Person Management App (PoC)
git clone [email protected]:Bahmni/person-management-app.git
## Misc Modules for different functionalities
[email protected]:Bahmni/bahmni-feed-integration-example.git
git clone [email protected]:Bahmni/openmrs-module-rulesengine.git
git clone [email protected]:Bahmni/bacteriology.git
git clone [email protected]:Bahmni/openmrs-module-bahmniendtb.git
git clone [email protected]:Bahmni/openmrs-module-flowsheet.git
git clone [email protected]:Bahmni/Bahmni-HnS.git
git clone [email protected]:Bahmni/bahmni-insurance-connect.git
git clone [email protected]:Bahmni/bahmni-endtb-batch.git
cd ..
echo "Bahmni Global Product code cloned. Press ENTER if you wish to continue with cloning ABDM India code"
read keypress
## ----------------------
## ABDM India Distro Code
## ----------------------
echo "Creating folder: abdm-india-bahmni"
mkdir abdm-india-bahmni
cd abdm-india-bahmni/
# Devops India
git clone [email protected]:BahmniIndiaDistro/helm-umbrella-chart.git
git clone [email protected]:BahmniIndiaDistro/helm-charts.git
git clone [email protected]:BahmniIndiaDistro/bahmni-india-package.git
git clone [email protected]:BahmniIndiaDistro/abdm-callback-proxy.git
# App Code and Config
git clone [email protected]:BahmniIndiaDistro/otp_service.git
git clone [email protected]:BahmniIndiaDistro/health-information-user.git
git clone [email protected]:BahmniIndiaDistro/hiu-ui.git
git clone [email protected]:BahmniIndiaDistro/openmrs-module-hip.git
git clone [email protected]:BahmniIndiaDistro/ABHA-Verification.git
git clone [email protected]:BahmniIndiaDistro/hip-service.git
git clone [email protected]:BahmniIndiaDistro/hip-atomfeed-listener.git
git clone [email protected]:BahmniIndiaDistro/hiu-db-initializer.git
# Test Code
git clone [email protected]:BahmniIndiaDistro/abdm-e2e-tests.git
cd ..
echo "Cloning of Bahmni code completed!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment