User guide for HYLODE
HySys
Your first port of call for all questions HySys should be the top-level repository documentation. Some tips and tricks for particularly common patterns are given here.
Deployment
Deployment instructions for a fresh installation of HySys are provided in the readme linked to above. To redeploy an already existing deployment on the NHS network:
- Navigate to the directory containing the checked out repository. Locations are provided here for the
staging_redandproddeployments. - Navigate to the the
hylode/directory (containingdocker-compose.yml) - From within a
tmuxorscreensession, execute thebin/up.shscript to deploy most of the back-end HySys services- you can execute this by running
./bin/up.shon the command line - it’s recommended to run this command inside a
tmuxorscreensession
- you can execute this by running
This will redeploy all non-interactive services - everything but the HyMind Lab and Field.
Interactive service deployment
To deploy the HyMind Lab and HyMind Field services, execute ./bin/interactive-up.sh. Again, it’s recommended that you do this within a screen or tmux session.
Taking services down
To take down all running services - including interactive services described above:
- Navigate to the directory containing the checked out repository. Locations are provided here for the
staging_redandproddeployments. - Navigate to the the
hylode/directory (containingdocker-compose.yml) - Run
./bin/down.shfrom the command line- Optionally provide the
--remove-orphansflag to remove hanging containers and networks. This will not remove any associated docker volumes, so is safe from a data-loss perspective.
- Optionally provide the
In-band predictions
Current and past model predictions arising as a result of the HySys pipeline are written to corresponding tables within the hymind schema within the hylode database found in the postgres service of each environment.
The latest predictions are available via the HyMind API REST endpoint. The HySys documentation details the URL of the documentation of this API - look for HYMIND_API_WEB_PORT.
Please note
- the application is only accessible from within the UCLH network
- usernames and passwords are available after training from the development team