Skip to content

Commit

Permalink
updates README on installing on a python2 installation, removed Docke…
Browse files Browse the repository at this point in the history
…rfile
  • Loading branch information
bb-Ricardo committed Aug 2, 2020
1 parent 946d723 commit d1f6503
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 38 deletions.
15 changes: 0 additions & 15 deletions Dockerfile

This file was deleted.

33 changes: 10 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,26 @@ It is equal capable as fritzcollectd and directly writing to influxdb.

## Ubuntu 18.04
```
sudo apt-get install virtualenv python3-lxml
sudo apt-get install virtualenv
cd /opt
git clone <this_repo_url>
git clone https://github.com/yunity/fritzinfluxdb.git
cd fritzinfluxdb
virtualenv --system-site-packages -p python3 .venv
git checkout python2.7
virtualenv -p python2 .venv
. .venv/bin/activate
pip3 install -r requirements.txt
pip install -r requirements.txt
```

## RHEL/CentOS 7 with EPEL
```
yum install git python36-virtualenv python36-lxml
yum install git python-virtualenv
cd /opt
git clone <this_repo_url>
git clone https://github.com/yunity/fritzinfluxdb.git
cd fritzinfluxdb
virtualenv-3 --system-site-packages .venv
git checkout python2.7
virtualenv .venv
. .venv/bin/activate
pip3 install -r requirements.txt
pip install -r requirements.txt
```

* modify your configuration and test it
Expand All @@ -49,21 +51,6 @@ systemctl start fritzinfluxdb
systemctl enable fritzinfluxdb
```

## Run with Docker
```
git clone <this_repo_url>
cd fritzinfluxdb
docker build -t fritzinfluxdb .
```

Copy the config from the [example](default.ini) to ```my-frtizinfluxdb.ini``` and edit
the settings.

Now you should be able to run the image with following command
```
docker run -d -v /PATH/TO/my-frtizinfluxdb.ini:/app/idefault.ini --name fritzinfluxdb fritzinfluxdb
```

# Grafana

Use ```grafana_dashboard_fritzbox.json``` to import this dashboard.
Expand Down

0 comments on commit d1f6503

Please sign in to comment.