Skip to content

Latest commit

 

History

History
76 lines (52 loc) · 1.67 KB

BUILDING.md

File metadata and controls

76 lines (52 loc) · 1.67 KB

Building HOOBS

This is the process used to build HOOBS from source.

HOOBS uses a build script for the many parts of the build process. To view the the options, run this command.

~]% npm run hoobs -- --help

HOOBS Core

First you need to build

~]% npm run hoobs build

Then to publish run this command

~]% npm run hoobs publish

HOOBS Upgrade Utility

This is the utility used to upgrade older versions of HOOBS or any install using UI-X.

To build you will need to clone the hoobs-upgrade repository at the same level as hoobs-core.

To build run this.

~]% npm run hoobs utility build

And to publish

~]% npm run hoobs utility publish

HOOBS Docker Image

HOOBS Core has Docker build files included. From this repository you are able to build the image, create a container locally and control that container.

You will need to install the latest version of Docker Desktop to build.
https://hub.docker.com/?overlay=onboarding

HOOBS uses Docker Buildx for it's images. You will need to edit the Docker Desktop settings and enable the "Expermental" tools. Here is some more information on this.
https://docs.docker.com/buildx/working-with-buildx/

Building the image.

~]% npm run hoobs docker build

Creating the HOOBS container locally

~]% npm run hoobs docker create

Start the HOOBS container locally

~]% npm run hoobs docker start

Stop the HOOBS container locally

~]% npm run hoobs docker stop

Removing the local HOOBS container

~]% npm run hoobs docker remove