Bahmni ERP Connect is the service that integrates OpenMRS (EMR) & OpenELIS (Lab) components to Odoo (ERP).
> 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 |
Please note, some of the runtime properties configuration (like using APP_PROPERTIES_FILE env variable to indicate external properties file) are only available from 0.92 version. |