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 24740a838e Run 2to3 over all code 4 years ago
docs Fix WSGI docs 11 years ago
nilmrun Run 2to3 over all code 4 years ago
scripts Run 2to3 over all code 4 years ago
tests Run 2to3 over all code 4 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 Start Python 3 conversion 4 years ago
README.md Start Python 3 conversion 4 years ago
data.js Start thread management stuff 11 years ago
requirements.txt Start Python 3 conversion 4 years ago
setup.cfg Start Python 3 conversion 4 years ago
setup.py Start Python 3 conversion 4 years ago
versioneer.py Run 2to3 over all code 4 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.