BBahmni 한국어 매뉴얼검색
한국어 번역 완료
한국어English

Bahmni ERP Connect

Bahmni ERP Connect는 OpenMRS(EMR)와 OpenELIS(검사실) 구성 요소를 Odoo(ERP)에 연동하는 서비스입니다.

소스 코드

  1. Feed Integration Service - https://github.com/Bahmni/openerp-atomfeed-service Packaging - https://github.com/Bahmni/bahmni-package/tree/master/bahmni-erp-connect
관련 문서: https://github.com/Bahmni/bahmni-package/tree/master/bahmni-erp-connect

빌드 및 설치

> cd /mybahmni/
> git clone https://github.com/Bahmni/openerp-atomfeed-service
> git clone https://github.com/Bahmni/bahmni-package

> cd /mybahmni/openerp-atomfeed-service/
# generate the war "openerp-atomfeed-service.war"
> mvn clean install
> cp target/openerp-atomfeed-service.war /mybahmni/bahmni-package/bahmni-erp-connect/resources/
> cd /mybahmni/bahmni-package/bahmni-erp-connect/
> ./gradlew buildrpm

# you might want to bump up the version of the rpm. 
# To do so, you can change "bahmni-package/gradle.properties"

# now copy the rpm to the target machine (vagrant or docker) 
# uninstall previous version of bahmni-erp-connect
# first logon to the target env and switch to su
# assuming that you have the erp-connect rpm available at /tmp/ 
> rpm -e bahmni-erp-connect
> rpm -Uvh /tmp/<bahmni-erp-connect-0.92-1.noarch.rpm>
> service bahmni-erp-connect status

런타임 속성

  1. 런타임 속성은 일반적으로 "/opt/bahmni-erp-connect/etc/"에 있는 "bahmni-erp-connect.conf"에서 설정합니다. 이 방식으로 내보낸 속성은 "bahmni-erp-connect"가 시작될 때마다 환경 변수로 설정됩니다. 하지만 점이 포함된 속성(예: "scheduler.initial.delay")은 이 파일에서 내보낼 수 없으므로 "-D" 매개변수와 함께 JVM 인수로 전달해야 합니다. java -jar -Dscheduler.start.delay=10000 또는 "bahmni-erp-connect.conf"에서 "APP_PROPERTIES_FILE"을 내보냅니다. export APP_PROPERTIES_FILE=file:/home/bahmni/bahmi-erp-connect.properties 해당 위치에 속성 파일이 있고 "bahmni" 사용자가 읽을 수 있어야 합니다. 재정의 가능한 속성 목록은 여기를 참고하십시오.
관련 문서: here
원문 정보

Bahmni Wiki · CC BY-SA 4.0

원문 보기 ↗