<commit_before>Heroku-dat-template
===================
> A simple Heroku app template for deploying [Dat](http://github.com/maxogden/dat)

Deploy a dat on the Heroku [Ephemeral Filesystem](https://devcenter.heroku.com/articles/dynos#ephemeral-filesystem) (data will be temporary):

[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy?template=https://github.com/bmpvieira/heroku-dat-template.git)

Deploy a dat on top of Heroku Postgres (data will get stored permanently). Uses the `postgres` branch of this repo:

[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy?template=https://github.com/bmpvieira/heroku-dat-template/tree/postgres)

**note** only tabular data is stored in postgres. blobs will still be stored on the ephemeral filesystem (unless you fork this and put in your own blob backend)

Environment Variables
-----
During deploy you will be asked to provide values for 3 environment variables.

* `DEBUG` - enter `*` to enable debug logging info to show up in `heroku logs`
* `DAT_ADMIN_USER` and `DAT_ADMIN_PASS` - these make dat read-only for anonymous users

Usage
-----
Just click the purple button above.

Alternatively:
- Create an Heroku app;
- Clone this repo;
- Push it to Heroku.

<!-- https://devcenter.heroku.com/articles/heroku-button -->
<!-- http://expeditedssl.com/heroku-button-maker -->

License
-------
[MIT](https://raw.github.com/bmpvieira/heroku-dat/master/LICENSE)<commit_msg>add redis button<commit_after>Heroku-dat-template
===================

### A simple Heroku app template for deploying [Dat](http://github.com/maxogden/dat)

Deploy a dat on the Heroku [Ephemeral Filesystem](https://devcenter.heroku.com/articles/dynos#ephemeral-filesystem) (data will be **temporary**):

[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy?template=https://github.com/bmpvieira/heroku-dat-template.git)

Deploy a dat on top of Heroku **Postgres** (data will get stored permanently). Uses the `postgres` branch of this repo:

[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy?template=https://github.com/bmpvieira/heroku-dat-template/tree/postgres)

Deploy a dat on top of **Redis Cloud 25MB Free** (data will get stored in a real Redis instance). Uses the `redis` branch of this repo:

[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy?template=https://github.com/bmpvieira/heroku-dat-template/tree/redis)

**note** only tabular data is stored in postgres/redis. blobs will still be stored on the ephemeral filesystem (unless you fork this and put in your own blob backend)

Environment Variables
-----
During deploy you will be asked to provide values for 3 environment variables.

* `DEBUG` - enter `*` to enable debug logging info to show up in `heroku logs`
* `DAT_ADMIN_USER` and `DAT_ADMIN_PASS` - these make dat read-only for anonymous users

Usage
-----
Just click the purple button above.

Alternatively:
- Create an Heroku app
- Clone this repo
- Push it to Heroku

<!-- https://devcenter.heroku.com/articles/heroku-button -->
<!-- http://expeditedssl.com/heroku-button-maker -->

License
-------
[MIT](https://raw.github.com/bmpvieira/heroku-dat/master/LICENSE)
{'fraction_non_alphanumeric': 0.1483752299202943, 'fraction_numerical': 0.001226241569589209, 'mean_word_length': 4.493265993265993, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 8, 'https://': 21, 'lorem ipsum': 0, 'www.': 5, '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': '3763453', 'n_tokens_mistral': 1075, 'n_tokens_neox': 1017, 'n_words': 292}