Skip to content

Instantly share code, notes, and snippets.

@gsluthra
Last active June 1, 2023 18:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • 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 git@github.com:Bahmni/openmrs-module-bahmniapps.git
git clone git@github.com:Bahmni/bahmni-core.git
git clone git@github.com:Bahmni/bahmni-commons-ng.git
git clone git@github.com:Bahmni/bahmni-lab-frontend.git
git clone git@github.com:Bahmni/openmrs-module-bahmni.ie.apps.git
git clone git@github.com:Bahmni/openmrs-module-teleconsultation.git
git clone git@github.com:Bahmni/bahmni-reports.git
git clone git@github.com:Bahmni/openmrs-module-bahmnicommons.git
git clone git@github.com:Bahmni/bahmni-java-utils.git
git clone git@github.com:Bahmni/form-controls.git
git clone git@github.com:Bahmni/implementer-interface.git
git clone git@github.com:Bahmni/openmrs-module-appointments-frontend.git
git clone git@github.com:Bahmni/openmrs-module-appointments.git
git clone git@github.com:Bahmni/openmrs-distro-bahmni.git
git clone git@github.com:Bahmni/default-config.git
git clone git@github.com:Bahmni/clinic-config.git
git clone git@github.com:Bahmni/openmrs-module-fhir2Extension.git
git clone git@github.com:Bahmni/audit-log.git
git clone git@github.com:Bahmni/openmrs-module-idgen-webservices.git
git clone git@github.com:Bahmni/openmrs-module-bedmanagement.git
git clone git@github.com:Bahmni/openmrs-module-emrapi.git
git clone git@github.com:Bahmni/client_side_logging.git
git clone git@github.com:Bahmni/openmrs-module-episodes.git
## Bahmni Connect Offline App
git clone git@github.com:Bahmni/bahmni-connect.git
git clone git@github.com:Bahmni/bahmni-offline-sync.git
git clone git@github.com:Bahmni/bahmni-offline.git
git cloone git@github.com:Bahmni/event-log-service.git
## Billing/Invoicing Crater
git clone git@github.com:Bahmni/crater-atomfeed.git
git clone git@github.com:Bahmni/crater.git
git clone git@github.com:Bahmni/crater-extensions.git
git clone git@github.com:Bahmni/crater-docs.git
## OpenERP/Odoo
git clone git@github.com:Bahmni/openerp-atomfeed-service.git
git clone git@github.com:Bahmni/odoo-modules.git
git clone git@github.com:Bahmni/bahmni_insurance_odoo.git
git clone git@github.com:Bahmni/openerp-modules.git
# PACS Dcm4Chee
git clone git@github.com:Bahmni/pacs-integration.git
git clone git@github.com:Bahmni/pacsquery.git
# OpenELIS Lab
git clone git@github.com:Bahmni/OpenElis.git
## DevOps/Infra Automation
git clone git@github.com:Bahmni/bahmni-docker.git
git clone git@github.com:Bahmni/helm-charts.git
git clone git@github.com:Bahmni/bahmni-infra.git
git clone git@github.com:Bahmni/bahmni-package.git
git clone git@github.com:Bahmni/patient-documents.git
git clone git@github.com:Bahmni/bahmni-scripts.git
git clone git@github.com:Bahmni/utilities.git
git clone git@github.com:Bahmni/bahmni-playbooks.git
git clone git@github.com:Bahmni/bahmni-infra-utils.git
git clone git@github.com:Bahmni/db-setup-helm-chart.git
git clone git@github.com:Bahmni/bahmni-tw-playbooks.git
git clone git@github.com:Bahmni/letsencrypt.git
git clone git@github.com:Bahmni/bahmni-tw-aws.git
git clone git@github.com:Bahmni/bahmni-aws.git
git clone git@github.com:Bahmni/bahmni-vagrant.git
## Misc Documentation
git clone git@github.com:Bahmni/bahmni-decision-records.git
git clone git@github.com:Bahmni/bahmni-diagrams.git
## Test Automation
git clone git@github.com:Bahmni/bahmni-e2e-tests.git
git clone git@github.com:Bahmni/bahmni-e2e-common-flows.git
git clone git@github.com:Bahmni/performance-test.git
git clone git@github.com:Bahmni/emr-functional-tests.git
git clone git@github.com:Bahmni/bahmni-test-data-generator.git
git clone git@github.com:Bahmni/bahmni-appointments-functional-tests.git
# Bahmni Mart
git clone git@github.com:Bahmni/bahmni-mart.git
git clone git@github.com:Bahmni/bahmni-mart-playbook.git
## Speech Assistant
git clone git@github.com:Bahmni/speech-assistant-frontend.git
git clone git@github.com:Bahmni/speech-assistant-package.git
## Bahmni Next O3
git clone git@github.com:Bahmni/bahmni-frontend.git
## Two Factor Auth Module
git clone git@github.com:Bahmni/two-factor-auth.git
git clone git@github.com:Bahmni/bahmni-sms-plugins.git
## Person Management App (PoC)
git clone git@github.com:Bahmni/person-management-app.git
## Misc Modules for different functionalities
git@github.com:Bahmni/bahmni-feed-integration-example.git
git clone git@github.com:Bahmni/openmrs-module-rulesengine.git
git clone git@github.com:Bahmni/bacteriology.git
git clone git@github.com:Bahmni/openmrs-module-bahmniendtb.git
git clone git@github.com:Bahmni/openmrs-module-flowsheet.git
git clone git@github.com:Bahmni/Bahmni-HnS.git
git clone git@github.com:Bahmni/bahmni-insurance-connect.git
git clone git@github.com: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 git@github.com:BahmniIndiaDistro/helm-umbrella-chart.git
git clone git@github.com:BahmniIndiaDistro/helm-charts.git
git clone git@github.com:BahmniIndiaDistro/bahmni-india-package.git
git clone git@github.com:BahmniIndiaDistro/abdm-callback-proxy.git
# App Code and Config
git clone git@github.com:BahmniIndiaDistro/otp_service.git
git clone git@github.com:BahmniIndiaDistro/health-information-user.git
git clone git@github.com:BahmniIndiaDistro/hiu-ui.git
git clone git@github.com:BahmniIndiaDistro/openmrs-module-hip.git
git clone git@github.com:BahmniIndiaDistro/ABHA-Verification.git
git clone git@github.com:BahmniIndiaDistro/hip-service.git
git clone git@github.com:BahmniIndiaDistro/hip-atomfeed-listener.git
git clone git@github.com:BahmniIndiaDistro/hiu-db-initializer.git
# Test Code
git clone git@github.com: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