bahmni / default-config Goto Github PK
View Code? Open in Web Editor NEWDefault configuration setup for bahmni.
License: Other
Default configuration setup for bahmni.
License: Other
When running with default config, the bahmni-reports container loads up the config (including SQL reports) under /etc
instead of /var/www
As such the sqlPath for those reports that use it in the openmrs/apps/reports/reports.json
should probably be updated to start with /etc
instead of /var/www
.
Let me know if this is already fixed, and I'm just using the wrong branch.
In case anyone else runs into this error, this is what I got when trying to run the 'Generic Laboratory Services' report:
I encountered a "500 Internal Server Error" in my browser, and the following StackTrace in my docker logs
bahmni-standard-reports-1 | java.lang.NullPointerException
bahmni-standard-reports-1 | at org.antlr.runtime.ANTLRStringStream.<init>(ANTLRStringStream.java:75)
bahmni-standard-reports-1 | at org.stringtemplate.v4.compiler.Compiler.compile(Compiler.java:111)
bahmni-standard-reports-1 | at org.stringtemplate.v4.STGroup.compile(STGroup.java:427)
bahmni-standard-reports-1 | at org.stringtemplate.v4.ST.<init>(ST.java:142)
bahmni-standard-reports-1 | at org.stringtemplate.v4.ST.<init>(ST.java:136)
bahmni-standard-reports-1 | at org.bahmni.reports.template.SqlReportTemplate.getSqlString(SqlReportTemplate.java:57)
bahmni-standard-reports-1 | at org.bahmni.reports.template.SqlReportTemplate.build(SqlReportTemplate.java:32)
bahmni-standard-reports-1 | at org.bahmni.reports.util.BahmniReportUtil.build(BahmniReportUtil.java:33)
bahmni-standard-reports-1 | at org.bahmni.reports.web.ReportGenerator.invoke(ReportGenerator.java:60)
bahmni-standard-reports-1 | at org.bahmni.reports.web.MainReportController.getReport(MainReportController.java:68)
until I updated the location of the file manually in the reports.json file to be /etc/bahmni_config/openmrs/apps/reports/sql/testCount.sql
.
Let me know if there's any other info you need, or if I should try and fork and do a pull request if that would be most helpful.
I am trying to install bahmni for development on my ubuntu 14.04 server. I am following instruction for installation which are mentioned on that page https://bahmni.atlassian.net/wiki/display/BAH/Bahmni+Using+Docker, and following instruction under that heading "Configuring Bahmni For Development". I did these steps
step 1: I created a directory named "bahmni-code-dev"
step 2: I clone these repositiories in "bahmni-code-dev" directory
'default-config - https://github.com/Bhamni/default-config.git
openmrs-distro-bahmni - https://github.com/Bhamni/openmrs-distro-bahmni
openmrs-module-bahmniapps - https://github.com/Bhamni/openmrs-module-bahmniapps'
Step 3: I build the project by that command "mvn clean install"
step 4: id did "cd openmrs-module-bahmniapps/ui"
step 5: then i did
'npm install -g bower
npm install -g grunt-cli
gem install compass'
step 6: i did "npm install"
step 7: then i did "bower install"
step 8: then i did "grunt", (grunt shows success message at the end)
Now i am not clear with points which are mentioned under heading "Building bahmni-core". Is it really necessary to build "bahmni-core" for developement.
Please guide me how can i change ports and where to locate files for that
Thank you
currently, I am working on bahmni customization. I installed bahmni on my pc of windows 11 OS. first it worked but changes made from default config doesn’t sync to UI. so I uninstalled and reinstalled every of the required files. and I am stuck. vagrant up keeps bringing errors. It says : The “metadata.json” file for the box ‘bahmni-team/bahmni’ was not found. Boxes require this file in order for Vagrant to determine the provider it was made for. If you made the box, please add a “metadata.json” file to it. If someone else made the box, please notify the box creator that the box is corrupt. Documentation for box file format can be found at the URL below https://developer.hashicorp.com/vagrant/docs/boxes/format
I need help.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.