The following describes a workflow for XOS core or GUI development using a local environment (e.g., a laptop) with the local 'scenario'. To learn more about the different POD config files, please refer to Building and Installing CORD.
The local
scenario is suitable for working on (and verifying the correctness of):
core
modelsservice
modelsgui
It runs in a set of local docker containers, and is the most lightweight of all CORD development environments.
The following assumes you have cloned the source code as described in: Getting the Source Code.
To deploy a local
scenario on your machine, you'll also need to install Docker.
These steps may be able to be automated by running the cord-bootstrap.sh script, with the -d
option.
You can setup a local
POD config on your machine as follows.
cd ~/cord/build make PODCONFIG=rcord-local.yml config make -j4 build
After the build completes, the XOS web GUI will be available at localhost:8080/xos
This is the workflow that you'll need to follow if you want to start from a fresh XOS installation. Note that it wipes the out the XOS database.
cd ~/cord/build make xos-teardown make -j4 build