<commit_before>Igor
====

Home Automation server. More details to be provided.

Installation
------------

Most of the work is done by running::
	sudo python setup.py install
but possibly ``py-dom-xpath`` will not install automatically, in that case search
for it in pypi.python.org and install it first.

This should also install scripts igorServer (to start the server) and igorVar
(command line interface to access the database).

Configuration
-------------

To run at startup:
- edit initscript-igor, modify path, database, etc
- ``sudo cp initscript-igor /etc/init.d/igor``
- ``sudo update-rc.d igor defaults``
- Reboot, or ``sudo igor start``

The init script current requires *screen*, install with ``apt-get``.
You may also want to install dependencies such as *bleServer* (or remove them).

Running
-------

To be provided
<commit_msg>Updated for new paths and added minimal osx instructions<commit_after>Igor
====

Home Automation server. More details to be provided.

Installation
------------

Most of the work is done by running::
	sudo python setup.py install
but possibly ``py-dom-xpath`` will not install automatically, in that case search
for it in pypi.python.org and install it first.

This should also install scripts igorServer (to start the server) and igorVar
(command line interface to access the database).

Configuration (Linux)
---------------------

To run at startup:
- edit initscript-igor, modify path, database, etc
- ``sudo cp initscript-igor /etc/init.d/igor``
- ``sudo update-rc.d igor defaults``
- Reboot, or ``sudo service igor start``

You may also want to install dependencies such as *bleServer* (or remove them).

Configuration (OSX)
-------------------

To run at login:
- edit nl.cwi.dis.igor.plist, modify paths, database, etc.
- ``cp nl.cwi.dis.igor.plist ~/Library/LaunchAgents/``
- ``launchctl load ~/Library/LaunchAgents/nl.cwi.dis.igor.plist``

(running at startup may work by copying into /Library/LaunchDaemons but has not been
tested yet).

Running
-------

To be provided

{'fraction_non_alphanumeric': 0.131786771964462, 'fraction_numerical': 0.0, 'mean_word_length': 3.4065217391304348, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4774782', 'n_tokens_mistral': 598, 'n_tokens_neox': 586, 'n_words': 254}