<commit_before>Real-time imageboard.
MIT licensed.
Supported platforms: Linux, OS X (win64 pending)

**NOTE: The git master branch contains the development version of the board.
Crashes are not uncommon as new features are added and patched. Don't use the
master branch in production. For more stable revisions, please [download the
 latest release](https://github.com/bakape/meguca/releases).**

##Setup
* Install dependencies listed below
* Sign up for reCAPTCHA
* Run `npm install` to install npm deps and compile C++ addons
* Configure the files in `config/`
* Run `node builder.js` to start an auto-reloading development server

##Production
* Have your webserver serve `www/`
  * It is highly recommended to use a dedicated webserver for serving static
  files and as a reverse proxy. Even if you choose to use the default inbuilt
  webserver, you still need to set `MEDIA_URL` in `config/imager` for image
  search links to work.
* Run `npm start` to start the server
* You can update `config/hot.js` on-the-fly with `node server/kill.js`
* To remove compiled server dependancies run `make clean`
* Similarly `make client_clean` removes compiled client files

##Updating
* To recompile client JS & CSS run `make client`. The new files can be loaded
 into a running server with `node server/kill.js`
* After upgrading an io.js version or a meguca release run `make upgrade` to 
recompile all dependancies
* See `docs/` for upgrading between major semver releases

##Dependencies
* [node-gyp dependancies](https://github.com/TooTallNate/node-gyp/#installation)
* imagemagick
* libpng with development headers
* [io.js](https://iojs.org) >=2.0.0
* redis

###Optional dependencies
* ffmpeg 2.2+ with libvpx, libvorbis and libopus for WebM support
  * with libmp3lame for MP3
* pngquant  2.3.0+ for PNG thumbnails

## Documentation
* docs/api.md - JSON API
* docs/migration_*.js - Major semvser migration instructions
* docs/doushio.initscript.example - Init script example<commit_msg>Add error log note to README<commit_after>Real-time imageboard.
MIT licensed.
Supported platforms: Linux, OS X (win64 pending)

**NOTE: The git master branch contains the development version of the board.
Crashes are not uncommon as new features are added and patched. Don't use the
master branch in production. For more stable revisions, please [download the
 latest release](https://github.com/bakape/meguca/releases).**

##Setup
* Install dependencies listed below
* Sign up for reCAPTCHA
* Run `npm install` to install npm deps and compile C++ addons
* Configure the files in `config/`
* Run `node builder.js` to start an auto-reloading development server

##Production
* Have your webserver serve `www/`
  * It is highly recommended to use a dedicated webserver for serving static
  files and as a reverse proxy. Even if you choose to use the default inbuilt
  webserver, you still need to set `MEDIA_URL` in `config/imager` for image
  search links to work.
* Run `npm start` to start the server
* You can update `config/hot.js` on-the-fly with `node server/kill.js`
* To remove compiled server dependancies run `make clean`
* Similarly `make client_clean` removes compiled client files
* All errors are logged to `./error.log`

##Updating
* To recompile client JS & CSS run `make client`. The new files can be loaded
 into a running server with `node server/kill.js`
* After upgrading an io.js version or a meguca release run `make upgrade` to 
recompile all dependancies
* See `docs/` for upgrading between major semver releases

##Dependencies
* [node-gyp dependancies](https://github.com/TooTallNate/node-gyp/#installation)
* imagemagick
* libpng with development headers
* [io.js](https://iojs.org) >=2.0.0
* redis

###Optional dependencies
* ffmpeg 2.2+ with libvpx, libvorbis and libopus for WebM support
  * with libmp3lame for MP3
* pngquant  2.3.0+ for PNG thumbnails

## Documentation
* docs/api.md - JSON API
* docs/migration_*.js - Major semvser migration instructions
* docs/doushio.initscript.example - Init script example
{'fraction_non_alphanumeric': 0.08387096774193549, 'fraction_numerical': 0.005955334987593052, 'mean_word_length': 4.4620596205962055, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7497498', 'n_tokens_mistral': 1218, 'n_tokens_neox': 1163, 'n_words': 516}