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 eae6dd623f Freeze requirements 11 months ago
docs Fix WSGI docs 8 years ago
nilmrun Fix #! at top of shell scripts for py3 and venvs 11 months ago
scripts Fix #! at top of shell scripts for py3 and venvs 11 months ago
tests Fix #! at top of shell scripts for py3 and venvs 11 months ago
.coveragerc Filled out test coverage, fixed lots of bugs 8 years ago
.gitattributes Update versioneer 11 months ago
.gitignore Add missing MANIFEST.in, update .gitignore 1 year ago
MANIFEST.in Add missing MANIFEST.in, update .gitignore 1 year ago
Makefile Add flake8 tests and clean up warnings 1 year ago
README.md Start Python 3 conversion 1 year ago
data.js Start thread management stuff 8 years ago
requirements.txt Freeze requirements 11 months ago
setup.cfg Add flake8 tests and clean up warnings 1 year ago
setup.py Fix #! at top of shell scripts for py3 and venvs 11 months ago
versioneer.py Update versioneer 11 months 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.