Go to file
2020-08-06 18:13:01 -04:00
docs Fix WSGI docs 2013-07-11 16:36:18 -04:00
nilmrun Fix #! at top of shell scripts for py3 and venvs 2020-08-05 17:01:47 -04:00
scripts Fix #! at top of shell scripts for py3 and venvs 2020-08-05 17:01:47 -04:00
tests Fix #! at top of shell scripts for py3 and venvs 2020-08-05 17:01:47 -04:00
.coveragerc Filled out test coverage, fixed lots of bugs 2013-07-05 21:58:30 -04:00
.gitattributes Update versioneer 2020-08-05 16:42:46 -04:00
.gitignore Add missing MANIFEST.in, update .gitignore 2020-08-03 23:48:07 -04:00
data.js Start thread management stuff 2013-07-05 15:55:41 -04:00
Makefile Add flake8 tests and clean up warnings 2020-08-03 23:46:34 -04:00
MANIFEST.in Add missing MANIFEST.in, update .gitignore 2020-08-03 23:48:07 -04:00
README.md Start Python 3 conversion 2020-08-03 16:51:01 -04:00
requirements.txt Freeze requirements 2020-08-06 18:13:01 -04:00
setup.cfg Add flake8 tests and clean up warnings 2020-08-03 23:46:34 -04:00
setup.py Fix #! at top of shell scripts for py3 and venvs 2020-08-05 17:01:47 -04:00
versioneer.py Update versioneer 2020-08-05 16:42:46 -04:00

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.