Skip to content

DHIS2 web app for removing trailing, leading and double whitespace characters from metadata properties.

Notifications You must be signed in to change notification settings

dhis2/whitespace-remover

Repository files navigation

Whitespace Cleaner

DHIS2 app to remove trailing, leading and double white space in metadata (name, shortName, description, code properties).

License

© Copyright HISP Centre

Getting started

Install dependencies

To install app dependencies:

yarn install

Compile to zip

To compile the app to a .zip file that can be installed in DHIS2:

yarn run zip

Start dev server

To start the webpack development server:

yarn start

By default, webpack will start on port 8081, and assumes DHIS2 is running on http://localhost:8080/dhis with admin:district as the user and password.

A different DHIS2 instance can be used to develop against by adding a d2auth.json file like this:

{
    "baseUrl": "http://localhost:9000/dev",
    "username": "john_doe",
    "password": "District1!"
}

About

DHIS2 web app for removing trailing, leading and double whitespace characters from metadata properties.

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published