Giter Club home page Giter Club logo

ec2dhis2docker's Introduction

ec2dhis2docker

Nutrition Center of the Philippines ([email protected])

AWS EC2 t2.small instance with Ubuntu18.04 64bit

Maintained by: Dexter N. ([email protected])
Disclaimer: This is for testing purposes only, the Maintainer, NCP (the owner) or its affiliations is free from liabilities of any kind.

This does not cover AWS signup, EC2 launches and other configurations. A basic knowledge of Linux commands and Docker might be required though the procedure below is straighforward.
It was tested and guaranteed to work on a Virtualbox instance with Ubuntu 18.04 and 19.04 for personal use (OS installation is not covered). Feel free to import your own sample data and configure it to your needs.

NCP's aim is to run DHIS2 on EC2 instance as well as on other OS platforms the fastest way and with basic technical knowledge.

Procedures:

  1. Launch a t2.small (or better) EC2 with Ubuntu 18.04 OS 64bit
  2. Login to the instance using your SSH Client
  3. Then: sudo apt update && sudo apt upgrade -y
  4. Then: sudo apt install docker docker-compose -y
  5. Clone this repository: sudo git clone https://github.com/ncp-ph/ec2dhis2docker.git
  6. Go to the directory: cd ec2dhis2docker
  7. Then execute: sudo docker-compose up -d (for dhis-web version: sudo docker-compose -f dhis2-web.yml up -d)
  8. Wait until containers are up (takes less about 5 minutes, if you want to see what's going on the background, you can use the following command: docker logs -f dhis2)
  9. Go to http://ec2-endpoint_or_ip_address_here and login with these credentials: admin/district

Important Notes:
a. Any changes on the site is saved on 'datadb' folder which is on the same directory as this repository
b. By default, the dhis2-core is configured on the docker-compose.yml file
c. If you want to use the web version (now unsupported, according to DHIS2 team) you can use a free-tier t2.micro EC2 instance.
d. This was also tested to run on AWS Linux, CentOS but it will require more configurations that is not written here
e. This was not tested nor work on any WindowsOS and MacOS yet(work-in-progress)

ec2dhis2docker's People

Contributors

dhec 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.