Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nickbradley/sh-insight
Get insights into your shell usage.
https://github.com/nickbradley/sh-insight
Last synced: 3 days ago
JSON representation
Get insights into your shell usage.
- Host: GitHub
- URL: https://github.com/nickbradley/sh-insight
- Owner: nickbradley
- Created: 2020-05-06T21:37:49.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-24T02:37:10.000Z (almost 2 years ago)
- Last Synced: 2023-03-03T04:42:30.246Z (almost 2 years ago)
- Language: TypeScript
- Size: 5.61 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 27
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://cli.vuejs.org/config/).## 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
```