- Install MDK dependent packages, for ubuntu
sudo apt-get update && sudo apt-get install libspatialindex-dev unixodbc-dev build-essential libtool zlib1g-dev autoconf
-
Install OasisLMF (ERN version) and other required packages:
pip3 install ./oasislmf-1.9.0-py3-none-manylinux1_x86_64.whl pip3 install -r requirements.txt
-
Install the custom item commands and the example custom GulCalc:
pip3 install -e .
-
Run the MDK commands, for example:
oasislmf model run -C oasislmf.json --verbose
- install git, docker and docker-compose
For example on an Ubuntu/Debian based Linux system use:
sudo apt update && sudo apt install git docker docker-compose
- Clone this repository
git clone https://github.com/HectorERN/Mexico_EQ_Demo
cd Mexico_EQ_Demo
- Run the deployment script
sudo ./install.sh
- Access via localhost, using the default
user: admin
pass: password
- OasisUI Interface - localhost:8080/app/BFE_RShiny
- API Swagger UI - localhost:8000
- API Admin Panel - localhost:8000/admin
- Gulcalc python class complex_model/OasisLMF_ComplexModelExample_gulcalc.py
- Lookup python class complex_model/DummyComplexModelKeysLookup.py
- Example test data tests/data
- Example model params for the UI model_resource.json