Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
MODS_MOCK_AGENT_VERSION=0.7.0
SIM_CMCL_MODS_WRAPPER_VERSION=0.11.0
SIM_CMCL_MODS_WRAPPER_VERSION=0.12.0
MODS_AGENT_BASE_URL=https://kg.cmclinnovations.com/mods-agent
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ The mock version of the MoDS web agent is additionally provided for testing and

# Requirements
- Python 3.8 (or higher)
- [SimPhoNy](https://github.com/simphony/osp-core)
- [SimPhoNy 3.8](https://github.com/simphony/simphony-osp/tree/v3.8.0)

# Installation - docker

A convenience `docker_install.sh` script has been provided that creates the `cmcl/sim_cmcl_mods_wrapper` image.
A convenient `docker_install.sh` script has been provided that creates the `cmcl/sim_cmcl_mods_wrapper` image.

```bash
# build the cmcl/sim_cmcl_mods_wrapper image
Expand All @@ -41,7 +41,7 @@ Please follow these steps to install the wrapper on your machine (using the virt

# Usage

The mods wrapper can be used by either running it in a docker container or locally. In case of the docker container option, a convenience `run_container.sh` script has been provided to simplify this task:
The mods wrapper can be used by either running it in a docker container or locally. In case of the docker container option, a convenient `run_container.sh` script has been provided to simplify this task:

```bash
# run the sim_cmcl_mods_wrapper container and open its bash terminal
Expand All @@ -52,7 +52,6 @@ Regardless of the docker or local machine option for building and running the wr

```bash
python examples/moo.py
python examples/moo_analytic.py
```

Please note that the above examples depend on the mods agent instance being up and running on CMCL servers.
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ services:
container_name: sim_cmcl_mods_wrapper
ports:
- 5001:5000
volumes:
- ./examples:/simphony/mods-wrapper/examples/
Loading