Go to file
Jim Paris b5fefffa09 Use a global cached server object for WSGI app
This is instead of caching it inside nilmdb.server.wsgi_application.
Might make things work a bit better in case the web server decides
to call wsgi_application multiple times.
2013-03-30 15:56:57 -04:00
docs WSGI config needs to specify application group 2013-03-30 15:56:02 -04:00
extras Don't use filenames as default arg completion 2013-03-16 17:27:58 -04:00
nilmdb Use a global cached server object for WSGI app 2013-03-30 15:56:57 -04:00
tests Remove Iteratorizer, as it's no longer needed 2013-03-24 21:31:03 -04:00
.coveragerc Switch to versioneer-provided versions everywhere 2013-02-05 19:07:38 -05:00
.gitattributes Incorporate versioneer for versioning 2013-02-05 18:49:07 -05:00
.gitignore Ignore built modules 2013-03-03 21:44:08 -05:00
.pylintrc Clean up some pylint warnings and potential errors 2013-02-01 15:29:24 -05:00
Makefile Fix Makefile omission 2013-03-11 17:42:02 -04:00
README.txt Add WSGI application support and documentation 2013-03-22 19:14:34 -04:00
setup.cfg Implement verify_thread_safety to check for unsafe access patterns 2013-02-23 11:25:02 -05:00
setup.py Replace bare 'except:' with 'except: Exception' 2013-03-24 21:28:01 -04:00
versioneer.py Fix versioneer to update versions on install 2013-02-28 14:50:53 -05:00

nilmdb: Non-Intrusive Load Monitor Database
by Jim Paris <jim@jtan.com>

Prerequisites:

  # Runtime and build environments
  sudo apt-get install python2.7 python2.7-dev python-setuptools cython

  # Base NilmDB dependencies
  sudo apt-get install python-cherrypy3 python-decorator python-simplejson
  sudo apt-get install python-requests python-dateutil python-tz python-psutil

  # Tools for running tests
  sudo apt-get install python-nose python-coverage

Test:
  python setup.py nosetests

Install:

  python setup.py install

Usage:

  nilmdb-server --help
  nilmtool --help

See docs/wsgi.md for info on setting up a WSGI application in Apache.