Skip to content

A repository for implementer interfaces like form builder, reporting, dashboard config etc.

License

Notifications You must be signed in to change notification settings

Bahmni/implementer-interface

Repository files navigation

Implementer Interface

File naming conventions

  1. All components should be in Pascal Case (camel case starting with uppercase letter)
  2. Other files including styles should be in Camel Case starting with lowercase letter
  3. Test files should have the same name as the file followed by .spec.js

Setup Steps

  1. Install nvm
  2. Install node-v12: nvm install 12
  3. Switch to node 12 : nvm use 12
  4. Install dependencies, yarn install
  5. Build implementer-interface - yarn run build
  6. Build on every change - yarn build --watch

Setup using Bahmni on Vagrant:

  1. Ensure that Bahmni is running in the vagrant box and is accessible on ip 192.168.33.10.
  2. Start the webserver using yarn start. You can configure the same in intellij as well
  3. Update the /etc/httpd/conf/httpd.conf file in vagrant box. Add these under the AddOutputFilterByType DEFLATE text/javascript Header set Access-Control-Allow-Origin "http://localhost:8080" Header set Access-Control-Allow-Methods "*" Header set Access-Control-Allow-Credentials "true"
  4. Restart the httpd service service httpd restart
  5. Access server at http://localhost:8080

Setup using Bahmni on Docker:

In order to setup developement environment for implementer-interface by running Bahmni on Docker, run the build in watch mode and follow the instructions mentioned here

About

A repository for implementer interfaces like form builder, reporting, dashboard config etc.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages