This is a web application that displays a chart over an organization and its members. You can navigate the chart, display info on individual sections and people, and search for people or units within the organisation. It pulls organization information from OS2MO REST API.
Assuming you have Node.js and npm installed, check out this code and install the build dependencies:
git clone git@git.magenta.dk:rammearkitektur/os2orgviewer.git
cd os2orgviewer/app
npm install
OS2orgviewer assumes you have a running OS2MO instance somewhere with access to it's API. If that is not the case, you should start a local OS2MO instance like so:
- Clone OS2MO and
cd os2mo
- Make a file
docker-compose.override.yml
and edit it to insert this configuration:
services:
mo:
environment:
OS2MO_AUTH: "false"
- Start OS2MO
docker-compose -f docker-compose.yml -f docker-compose.override.yml up -d --build
It will load the Kolding dummy dataset. 4. Start OS2orgviewer.
cd os2orgviewer
docker-compose up -d --build
You can now access OS2Orgviewer on http://localhost:8083/.
Refer to the development section for further development instructions.
Inside os2orgviewer/app directory, run the build script
npm run build (default setup)
New directories will be created in the app/dist folder with your build (example: app/dist/default/
). Hook it up to a server, and you'll be good to go.
Document for the application can be found here.
Configuration details can be found in the configuration section