You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Jim Paris 549a27e66c Add flake8 tests and clean up warnings 3 years ago
docs Fix WSGI docs 11 years ago
nilmrun Add flake8 tests and clean up warnings 3 years ago
scripts Run 2to3 over all code 3 years ago
tests Update for Python 3 and psutil >= 2. 3 years ago
.coveragerc Filled out test coverage, fixed lots of bugs 11 years ago
.gitattributes Initial commit 11 years ago
.gitignore More tests 11 years ago
Makefile Add flake8 tests and clean up warnings 3 years ago
README.md Start Python 3 conversion 3 years ago
data.js Start thread management stuff 11 years ago
requirements.txt Update for Python 3 and psutil >= 2. 3 years ago
setup.cfg Add flake8 tests and clean up warnings 3 years ago
setup.py Start Python 3 conversion 3 years ago
versioneer.py Run 2to3 over all code 3 years ago

README.md

nilmrun: Run NilmDB filters

by Jim Paris jim@jtan.com

Prerequisites:

# Runtime and build environments
sudo apt-get install python3

# Create a new Python virtual environment to isolate deps.
python3 -m venv ../venv
source ../venv/bin/activate   # run "deactivate" to leave

# Install all Python dependencies
pip3 install -r requirements.txt

Install:

Install it into the virtual environment

python3 setup.py install

If you want to instead install it system-wide, you will also need to install the requirements system-wide:

sudo pip3 install -r requirements.txt
sudo python3 setup.py install

Usage:

nilmrun-server --help

See docs/wsgi.md for info on setting up a WSGI application in Apache.