Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • SSH into the remote machine.
  • Check if event log service is existing

    Info
    titleCheck if event log service exists

    service bahmni-event-log-service status

  • If it is not existing, install In inventory file located at /etc/bahmni-installer/local, add localhost for the bahmni-event-log-service entry 

    Info
    titleInstall event log service

    sudo rpm -rvh [bahmni-event-log-service

    Check if apache has the setting for proxy

    Info
    titleSetup SSL conf

    ProxyPass /]
    localhost

  • Install bahmni event-log-service

    http://localhost:9081/event-log-service
    ProxyPassReverse /event-log-service http://localhost:9081/event-log-service

    rpm

    Code Block
    ansible-playbook -i /etc/bahmni-installer/local /opt/bahmni-installer/bahmni-playbooks/all.yml -vv  --extra-vars '@/etc/bahmni-installer/rpm_versions.yml' --extra-vars '@/etc/bahmni-installer/setup.yml' -t event-log
  • Check if event-log-service is properly installed

    Info
    titleCheck if event log service is installed correctly

    curl http://dev.bahmnidev.org:9081/event-log-service/

    The response should be "Event log service is up and running."

    Generate Event Log for existing atomfeed

    There is a migration script to add existing events existing address heirarchy events on the server (from atom feed logs) to the event_log table. It should be manually run in this order:

      1. https://github.com/Bahmni/event-log-service/blob/master/event-log-service-webapp/src/main/resources/sql-scripts/createAddressHierarchyEvents.sql

      Generate Event Log for concepts

          To make concepts available for offline use, run the following python script

                         https://github.com/Bahmni/event-log-service/blob/master/event-log-service-webapp/src/main/resources/sql-scripts/

...

copyOfflineConcepts.py

          by running the command

                          python copyOfflineConcepts.py