Update the README to reflect wiki changes
This commit is contained in:
parent
f0f9a3af86
commit
847ed69cc6
1 changed files with 7 additions and 60 deletions
67
README.md
67
README.md
|
@ -2,6 +2,10 @@
|
|||
[](https://travis-ci.org/Boerderij/Varken)
|
||||
[](https://discord.gg/AGTG44H)
|
||||
[](https://www.buymeacoffee.com/varken)
|
||||
[](https://microbadger.com/images/boerderij/varken)
|
||||
[](https://microbadger.com/images/boerderij/varken)
|
||||
[](https://hub.docker.com/r/boerderij/varken/)
|
||||
[](https://hub.docker.com/r/boerderij/varken/)
|
||||
|
||||
Dutch for PIG. PIG is an Acronym for Plex/InfluxDB/Grafana
|
||||
|
||||
|
@ -10,7 +14,7 @@ from the Plex ecosystem into InfluxDB. Examples use Grafana for a
|
|||
frontend
|
||||
|
||||
Requirements:
|
||||
* Python3.6.7+
|
||||
* [Python 3.6.7+](https://www.python.org/downloads/release/python-367/)
|
||||
* Python3-pip
|
||||
* [InfluxDB](https://www.influxdata.com/)
|
||||
|
||||
|
@ -34,65 +38,8 @@ Key features:
|
|||
* Grafana [Worldmap Panel](https://grafana.com/plugins/grafana-worldmap-panel/installation) support
|
||||
|
||||
|
||||
## Quick Setup (Git Clone)
|
||||
```
|
||||
# Clone the repository
|
||||
git clone https://github.com/Boerderij/Varken.git /opt/Varken
|
||||
|
||||
# Follow the systemd install instructions located in varken.systemd
|
||||
cp /opt/Varken/varken.systemd /etc/systemd/system/varken.service
|
||||
nano /etc/systemd/system/varken.service
|
||||
|
||||
# Create venv in project
|
||||
/usr/bin/python3 -m venv /opt/Varken/varken-venv
|
||||
|
||||
# Install requirements
|
||||
/opt/Varken/varken-venv/bin/python -m pip install -r requirements.txt
|
||||
|
||||
# Make a copy of varken.example.ini to varken.ini in the data folder
|
||||
cp /opt/Varken/data/varken.example.ini /opt/Varken/data/varken.ini
|
||||
|
||||
# Make the appropriate changes to varken.ini
|
||||
nano /opt/Varken/data/varken.ini
|
||||
|
||||
# Make sure all the files have the appropriate permissions
|
||||
chown $USER:$USER -R /opt/Varken
|
||||
|
||||
# Start the service and enable it
|
||||
systemctl start varken
|
||||
systemctl enable varken
|
||||
```
|
||||
### Docker
|
||||
|
||||
[](https://microbadger.com/images/boerderij/varken)
|
||||
[](https://microbadger.com/images/boerderij/varken)
|
||||
[](https://hub.docker.com/r/boerderij/varken/)
|
||||
[](https://hub.docker.com/r/boerderij/varken/)
|
||||
<details><summary>Example</summary>
|
||||
<p>
|
||||
|
||||
```
|
||||
docker run -d \
|
||||
--name=varken \
|
||||
-v <path to data>:/config \
|
||||
-e PGID=<gid> -e PUID=<uid> \
|
||||
-e TZ=America/Chicago \
|
||||
boerderij/varken
|
||||
```
|
||||
</p>
|
||||
</details>
|
||||
|
||||
#### Tags
|
||||
* **latest**
|
||||
* **nightly**
|
||||
* **release-tag** e.g. v1.0
|
||||
|
||||
#### Upgrading with docker
|
||||
```sh
|
||||
docker stop varken
|
||||
docker rm varken
|
||||
# Run deploy command above
|
||||
```
|
||||
## Installation Guides
|
||||
* Installation guides can be found in the [wiki](https://github.com/Boerderij/Varken/wiki/Installation).
|
||||
|
||||
### InfluxDB
|
||||
[InfluxDB Installation Documentation](https://docs.influxdata.com/influxdb/v1.7/introduction/installation/)
|
||||
|
|
Loading…
Reference in a new issue