|
12345678910111213141516171819202122232425262728293031 |
- nilmdb: Non-Intrusive Load Monitor Database
- by Jim Paris <jim@jtan.com>
-
- Prerequisites:
-
- # 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
-
- Test:
-
- python3 setup.py nosetests
-
- Install:
-
- sudo python3 setup.py install
-
- Usage:
-
- nilmdb-server --help
- nilmdb-fsck --help
- nilmtool --help
-
- See docs/wsgi.md for info on setting up a WSGI application in Apache.
|