Skip to content

WISCENTD-UPC/Advanced-Metadata-Export

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DHIS2 Advanced Metadata Export App

This advanced export app allows the user to create packages of metadata with all the required dependencies for a successful import.

Prepare the environment

All the required dependencies to develop the app can be achieved through yarn.

yarn install

Start a development server

  • Create .env file with the following content
REACT_APP_DEBUG=true
REACT_APP_DHIS2_BASE_URL=http://who-dev.essi.upc.edu:8081
REACT_APP_DHIS2_USERNAME=username
REACT_APP_DHIS2_PASSWORD=password
  • Launch Chrome with CORS disabled

https://stackoverflow.com/questions/3102819/disable-same-origin-policy-in-chrome

  • Execute development server
yarn start

Build a release package

  • Create a packaged zip
yarn run build