Skip to content
OpenM++ UI
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build use react-pivottabale for output tables Apr 2, 2019
config move UI code to GitHub, truncate history Mar 5, 2019
src 1.fix run status missing bug 2.cosmetic: split model page May 10, 2019
static
.babelrc move UI code to GitHub, truncate history Mar 5, 2019
.editorconfig move UI code to GitHub, truncate history Mar 5, 2019
.eslintignore move UI code to GitHub, truncate history Mar 5, 2019
.eslintrc.js move UI code to GitHub, truncate history Mar 5, 2019
.gitignore move UI code to GitHub, truncate history Mar 5, 2019
.postcssrc.js move UI code to GitHub, truncate history Mar 5, 2019
README.md
index.html cosmetic changes: additional comments Apr 23, 2019
package.json minor change: chart size opitimization May 4, 2019

README.md

OpenM++ UI frontend

This repository is a part of OpenM++ open source microsimulation platform. It contains web UI frontend (alpha version).

Build

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

Run

You need to start oms web-service before UI. Folowing directory structure assumed by default:

./         -> oms "root" directory, by default it is current directory
    html/        -> web-UI directory with HTML, js, css, images...
    etc/         -> config files directory, contain template(s) to run models on MPI cluster
    log/         -> recommended log files directory
    models/
          bin/  -> default model.exe and model.sqlite directory
          log/  -> default directory for models run log files

On Windows you can start oms web-service and UI by double clicking on bin\opmpp-ui.bat:

@echo off

IF "%CD%\" == "%~dp0" (
  cd ..
)
IF "%OM_ROOT%" == "" (
  SET OM_ROOT=%CD%
)
rem cd %OM_ROOT%

START "oms" /MIN bin\oms
START http://localhost:4040

Please visit our wiki for more information.

License: MIT.

You can’t perform that action at this time.