yarn install
yarn serve
yarn build
yarn test:unit
yarn lint
Make sure the data directory exists.
mkdir -p /var/opt/sh-insight/data/uploads
Note that we need to use host networking due to firewall shenanigans.
docker build --tag sh-insight .
podman create --name sh-insight --network host --volume /var/opt/sh-insight/data:/data:Z --env-file /opt/sh-insight/.env sh-insight
cd /etc/systemd/system
podman generate systemd --name --files sh-insight
# Only need next line if you re-create the container
systemctl daemon-reload
systemctl enable --now container-sh-insight.service
systemctl stop container-sh-insight