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.

README.md 756 B

1234567891011121314151617181920212223242526272829303132
  1. # nilmrun: Run NilmDB filters
  2. by Jim Paris <jim@jtan.com>
  3. ## Prerequisites:
  4. # Runtime and build environments
  5. sudo apt-get install python3
  6. # Create a new Python virtual environment to isolate deps.
  7. python3 -m venv ../venv
  8. source ../venv/bin/activate # run "deactivate" to leave
  9. # Install all Python dependencies
  10. pip3 install -r requirements.txt
  11. ## Install:
  12. Install it into the virtual environment
  13. python3 setup.py install
  14. If you want to instead install it system-wide, you will also need to
  15. install the requirements system-wide:
  16. sudo pip3 install -r requirements.txt
  17. sudo python3 setup.py install
  18. ## Usage:
  19. nilmrun-server --help
  20. See docs/wsgi.md for info on setting up a WSGI application in Apache.