Giter Site home page Giter Site logo

itinordic / interop Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 321 KB

Repository for synchronizing aggregate data between Zimbabwe National Malaria Control Program(immis) and Zimbabwe Health Information System (nhis)

License: Apache License 2.0

Java 81.17% HTML 18.82% CSS 0.02% JavaScript 0.01%

interop's Introduction

interop

Repository for synchronizing aggregate data between Zimbabwe National Malaria Control Program(immis) and Zimbabwe Health Information System (nhis)

how to deploy

1.1 CREATE DATABASE

Create a non-privileged user called interop by invoking:

sudo -u postgres createuser -SDRP interop

Enter interop as password at the prompt. Create a database called interop by invoking:

sudo -u postgres createdb -O interop interop

Add the uuid extension to the created database by invoking:

sudo -u postgres psql interop

Enter the following command into the console:

CREATE EXTENSION "uuid-ossp";

Exit the console and return to your previous user with \q followed by exit.

1.2 CREATE AND RUN EXECUTABLE JAR

sudo mkdir /etc/interop

sudo mkdir /etc/interop/config

cd /etc/interop && sudo git clone https://github.com/ITINordic/interop.git

sudo cp /etc/interop/interop/src/main/resources/application.properties /etc/interop/config

sudo vi /etc/interop/config/application.properties

cd /etc/interop/interop && sudo mvn package

sudo cp /etc/interop/interop/target/interop-0.0.1-SNAPSHOT.jar /etc/interop

cd /etc/interop && sudo nohup java -jar interop-0.0.1-SNAPSHOT.jar > ~/interop.log &

curl -L http://localhost:9090/interop

2.1 REDEPLOYMENT

sudo netstat -peanut | grep 9090

sudo kill -9 processId

cd /etc/interop/interop && sudo git pull

cd /etc/interop/interop && sudo mvn package

sudo cp /etc/interop/interop/target/interop-0.0.1-SNAPSHOT.jar /etc/interop

cd /etc/interop && sudo nohup java -jar interop-0.0.1-SNAPSHOT.jar > ~/interop.log &

curl -L http://localhost:9090/interop

interop's People

Contributors

cchigoriwa avatar regnatpopulus avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.