<commit_before>Very simple chat written in django with drealtime
==========
To run this you need:

1. Python3 or Python2
2. pip packages # `pip install packagename`
 1. django
 2. django-realtime #if pip2 doesn't have it - install https://github.com/anishmenon/django-realtime
 3. simplejson
 4. PyMySQL # or SQLite or w/e
 5. mysql-connector-python # mysql backend for DB migrate

3. linux packages
 1. redis-server # `pacman -S community/redis`
 2. nodejs # `pacman -S community/nodejs`
 3. ishout.js # `wget https://inzane@bitbucket.org/inzane/ishout/get/77c5c2b0e615.zip || echo 'link is broken download it manually https://www.npmjs.org/package/ishout.js'`
4. Database server # Chat uses mysql by default. If you consider to use another one - change DATABASES in Chat/settings.py  and use syncdb.sh to create DB
 1. Using mysql
  1. Install mysql server. I use mariadb # `pacman -S mariadb`
  2. Create database using `syncdb.sh init` or `mysqldumb.sql`
 2. Using SQLite
  1. Use `syncdb.sh init`
<commit_msg>finished building howto section,  now it should work on clean system<commit_after>Very simple chat written in django with drealtime
==========
To run this you need:

1. Python3 or Python2
2. pip packages # `pip install packagename`
 1. django
 2. django-realtime #if pip2 doesn't have it - install https://github.com/anishmenon/django-realtime
 3. simplejson
 4. PyMySQL # or SQLite or w/e
 5. mysql-connector-python # mysql backend for DB migrate

3. linux packages
 1. redis-server # `pacman -S community/redis` http://tosbourn.com/install-latest-version-redis-ubuntu/  http://redis.io/
 2. nodejs # `pacman -S community/nodejs`  http://nodejs.org/
 3. ishout.js #`npm install ishout.js` https://www.npmjs.com/package/ishout.js
4. Database server # Chat uses mysql by default. If you consider to use another one - change DATABASES in Chat/settings.py  and use syncdb.sh to create DB
 1. Using mysql
  1. Install mysql server. I use mariadb # `pacman -S mariadb`
  2. Create database using `syncdb.sh init` or `mysqldumb.sql`
 2. Using SQLite
  1. Use `syncdb.sh init`
3. run `start.sh`

{'fraction_non_alphanumeric': 0.10751665080875357, 'fraction_numerical': 0.023311132254995242, 'mean_word_length': 3.591703056768559, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 5, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '695101', 'n_tokens_mistral': 742, 'n_tokens_neox': 702, 'n_words': 264}