|
3 years ago | |
---|---|---|
docs | 3 years ago | |
extras | 3 years ago | |
nilmdb | 3 years ago | |
tests | 3 years ago | |
.coveragerc | 3 years ago | |
.gitattributes | 10 years ago | |
.gitignore | 3 years ago | |
MANIFEST.in | 3 years ago | |
Makefile | 3 years ago | |
README.md | 3 years ago | |
requirements.txt | 3 years ago | |
setup.cfg | 3 years ago | |
setup.py | 3 years ago | |
versioneer.py | 3 years ago |
by Jim Paris jim@jtan.com
NilmDB requires Python 3.7 or newer.
# Runtime and build environments
sudo apt install python3.7 python3.7-dev python3.7-venv python3-pip
# Optional: create a new Python virtual environment to isolate
# dependencies. To leave the virtual environment, run "deactivate"
python -m venv venv
source venv/bin/activate
# Install all Python dependencies from PyPI.
pip3 install -r requirements.txt
python3 setup.py nosetests
sudo python3 setup.py install
nilmdb-server --help
nilmdb-fsck --help
nilmtool --help
See docs/wsgi.md for info on setting up a WSGI application in Apache.