updated readme with badges, and docker update
This commit is contained in:
parent
3059c2d0a2
commit
64b87a012e
1 changed files with 13 additions and 8 deletions
21
README.md
21
README.md
|
@ -1,17 +1,23 @@
|
||||||
# Varken
|
# Varken
|
||||||
|
[](https://discord.gg/AGTG44H)
|
||||||
|
[](https://www.buymeacoffee.com/varken)
|
||||||
|
[](https://hub.docker.com/r/boerderij/varken/)
|
||||||
|
|
||||||
Dutch for PIG. PIG is an Acronym for Plex/InfluxDB/Grafana
|
Dutch for PIG. PIG is an Acronym for Plex/InfluxDB/Grafana
|
||||||
|
|
||||||
varken is a standalone command-line utility to aggregate data
|
varken is a standalone command-line utility to aggregate data
|
||||||
from the Plex ecosystem into InfluxDB. Examples use Grafana for a
|
from the Plex ecosystem into InfluxDB. Examples use Grafana for a
|
||||||
frontend
|
frontend
|
||||||
|
|
||||||
Requirements /w install links: [Grafana](http://docs.grafana.org/installation/), [Python3](https://www.python.org/downloads/), [InfluxDB](https://docs.influxdata.com/influxdb/v1.5/introduction/installation/)
|
Requirements:
|
||||||
|
* Python3.6+
|
||||||
|
* Python3-pip
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<img width="800" src="https://i.imgur.com/av8e0HP.png">
|
<img width="800" src="https://i.imgur.com/av8e0HP.png">
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
## Quick Setup (Varken Alpha)
|
## Quick Setup
|
||||||
1. Clone the repository `sudo git clone https://github.com/Boerderij/Varken.git /opt/Varken`
|
1. Clone the repository `sudo git clone https://github.com/Boerderij/Varken.git /opt/Varken`
|
||||||
1. Follow the systemd install instructions located in `varken.systemd`
|
1. Follow the systemd install instructions located in `varken.systemd`
|
||||||
1. Create venv in project `cd /opt/Varken && /usr/bin/python3 -m venv varken-venv`
|
1. Create venv in project `cd /opt/Varken && /usr/bin/python3 -m venv varken-venv`
|
||||||
|
@ -23,21 +29,20 @@ Requirements /w install links: [Grafana](http://docs.grafana.org/installation/),
|
||||||
1. Make sure all the files have the appropriate permissions `sudo chown varken:varken -R /opt/Varken`
|
1. Make sure all the files have the appropriate permissions `sudo chown varken:varken -R /opt/Varken`
|
||||||
1. After completing the [getting started](http://docs.grafana.org/guides/getting_started/) portion of grafana, create your datasource for influxdb.
|
1. After completing the [getting started](http://docs.grafana.org/guides/getting_started/) portion of grafana, create your datasource for influxdb.
|
||||||
1. Install `grafana-cli plugins install grafana-worldmap-panel`
|
1. Install `grafana-cli plugins install grafana-worldmap-panel`
|
||||||
1. TODO:: Click the + on your menu and click import. Using the .json provided in this repo, paste it in and customize as you like.
|
|
||||||
|
|
||||||
### Docker
|
### Docker
|
||||||
|
|
||||||
Repo is included in [si0972/grafana-scripts-docker](https://github.com/si0972/grafana-scripts-docker/tree/varken)
|
Repo is included in [Boerderij/docker-Varken](https://github.com/Boerderij/docker-Varken)
|
||||||
|
|
||||||
<details><summary>Example</summary>
|
<details><summary>Example</summary>
|
||||||
<p>
|
<p>
|
||||||
|
|
||||||
```
|
```
|
||||||
docker create \
|
docker run -d \
|
||||||
--name=grafana-scripts \
|
--name=varken \
|
||||||
-v <path to data>:/Scripts \
|
-v <path to data>:/config \
|
||||||
-e PGID=<gid> -e PUID=<uid> \
|
-e PGID=<gid> -e PUID=<uid> \
|
||||||
si0972/grafana-scripts:varken
|
boerderij/varken:nightly
|
||||||
```
|
```
|
||||||
</p>
|
</p>
|
||||||
</details>
|
</details>
|
||||||
|
|
Loading…
Reference in a new issue