Skip to content

nickbradley/sh-insight

Repository files navigation

sh-insight

Project setup

yarn install

Compiles and hot-reloads for development

yarn serve

Compiles and minifies for production

yarn build

Run your unit tests

yarn test:unit

Lints and fixes files

yarn lint

Customize configuration

See Configuration Reference.

To deploy

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

To manage

systemctl stop container-sh-insight

About

Get insights into your shell usage.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published