Skip to content

OpenELIS 2.X is a rewrite of the original OpenELIS global with updated components and technology

License

Notifications You must be signed in to change notification settings

pascagihozo/OpenELIS-Global-2-UNDP

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenELIS Global 2

This is the OpenELIS rewrite onto Java Spring, and with all new technology and features. Please vist our website for more information.

You can find more information on how to set up OpenELIS at our docs page

CI Status

Maven Build Status Coverage

Publish OpenELIS WebApp Docker Image Status

End to End QA Tests Status

End to End QA Tests Status

For Offline Installation Using the OpenELIS Global2 Installer

Download the OpenELIS Global Installer for each Release from the Release Assets

see full installtion instructions for Offline Installation

For running OpenELIS Global2 in Docker with default Settings out of the Box

see OpenELIS-Docker setup

For Running OpenELIS Global2 from Source Code

Running OpenELIS Global2 using docker compose With published docker images on dockerhub

docker-compose up -d

Running OpenELIS Global2 using docker compose with docker images built directly from the source code

docker-compose -f build.docker-compose.yml up -d --build

Running OpenELIS Global2 using docker compose With locally compiled/built Artifacts (ie the War file and React code)

  1. Fork the OpenELIS-Global Repository and clone the forked repo. The username below is the username of your Github profile.

     git clone https://github.com/username/OpenELIS-Global-2.git
    
  2. Build the War file

      mvn clean install -DskipTests
    
  3. Start the containers to mount the locally compiled artifacts

    docker-compose -f dev.docker-compose.yml up -d
    

    Note : For Reflecting Local changes in the Running Containers ;

  • Any Changes to the Front-end React Source Code will be directly Hot Reloaded in the UI

  • For changes to the Back-end Java Source code

    • Run the maven build again to re-build the War file

       mvn clean install -DskipTests
      
    • Recreate the Openelis webapp container

      docker-compose -f dev.docker-compose.yml up -d  --no-deps --force-recreate oe.openelis.org
      

The Instaces can be accesed at

Instance URL credentials (user : password)
Legacy UI https://localhost/api/OpenELIS-Global/   admin: adminADMIN!
New React UI https://localhost/ admin: adminADMIN!

Note: If your browser indicates that the website is not secure after accessing any of these links, simply follow these steps:

  1. Scroll down on the warning page.
  2. Click on the "Advanced" button.
  3. Finally, click on "Proceed to https://localhost" to access the development environment.

Formating the Source code after making changes

  1. After making UI changes to the frontend directory , run the formatter to properly format the Frontend code

    cd frontend
    npm run format
    
  2. After making changes to the backend directory, run the formatter to properly format the Java code

    mvn spotless:apply
    

About

OpenELIS 2.X is a rewrite of the original OpenELIS global with updated components and technology

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 61.6%
  • PLpgSQL 19.5%
  • JavaScript 13.5%
  • SCSS 1.4%
  • Less 1.2%
  • TypeScript 1.0%
  • Other 1.8%