<commit_before>This is Gittip, a sustainable crowd-funding platform.

The basis of Gittip is a small, anonymous, recurring gift of between $1 and
$24. These gifts come with no explicit strings attached.

The Gittip gift exchange happens every Thursday. On Thursday, we charge
people's credit cards and the money goes into a marketplace account with
[Balanced Payments](https://www.balancedpayments.com). Money is allocated to
other participants, and for those with a bank account attached and money due,
the money is deposited in their bank account on Friday.


Installation
============

The site is built with Python 2.7 and the [Aspen](http://aspen.io/) web
framework, and is hosted on Heroku.
[Balanced](https://www.balancedpayments.com/) is used for credit card
processing, and Google for analytics.

You need python2.7 on your PATH.

You need Postgres with headers installed.

Once you have Python and Postgres, you can use make to build and launch Gittip:

    $ make run

If you don't have make, look at the Makefile to see what steps you need to
perform to build and launch Gittip. The Makefile is pretty simple and
straightforward. 

All Python dependencies (including virtualenv) are bundled with Gittip in the
vendor/ directory. Gittip is designed so that you don't manage its virtualenv
directly and you don't download its dependencies at build time.


local.env
=========

When using `make run`, Gittip's execution environment is defined in a
`local.env` file, which is not included in the source code repo. If you `make
run` you'll have one generated for you, which you can then tweak as needed.
Here's the default:

    CANONICAL_HOST=localhost:8537
    CANONICAL_SCHEME=http
    DATABASE_URL=postgres://gittip@localhost/gittip<commit_msg>Clarify README a bit (#99)<commit_after>This is Gittip, a sustainable crowd-funding platform.

The basis of Gittip is an anonymous gift between $1 and $24 per week to people
who do great work. These gifts come with no explicit strings attached.

The Gittip gift exchange happens every Thursday. On Thursday, we charge
people's credit cards and the money goes into a marketplace account with
[Balanced Payments](https://www.balancedpayments.com). Money is allocated to
other participants, and for those with a bank account attached and money due,
the money is deposited in their bank account on Friday.

Gittip is funded on Gittip.


Installation
============

The site is built with [Python](http://www.python.org/) 2.7 and the
[Aspen](http://aspen.io/) web framework, and is hosted on
[Heroku](http://www.heroku.com/).
[Balanced](https://www.balancedpayments.com/) is used for credit card
processing, and Google for analytics.

You need python2.7 on your PATH.

You need [Postgres](http://www.postgresql.org/) with headers installed.

Once you have Python and Postgres, you can use make to build and launch Gittip:

    $ make run

If you don't have make, look at the Makefile to see what steps you need to
perform to build and launch Gittip. The Makefile is pretty simple and
straightforward. 

All Python dependencies (including virtualenv) are bundled with Gittip in the
vendor/ directory. Gittip is designed so that you don't manage its virtualenv
directly and you don't download its dependencies at build time.


local.env
=========

When using `make run`, Gittip's execution environment is defined in a
`local.env` file, which is not included in the source code repo. If you `make
run` you'll have one generated for you, which you can then tweak as needed.
Here's the default:

    CANONICAL_HOST=localhost:8537
    CANONICAL_SCHEME=http
    DATABASE_URL=postgres://gittip@localhost/gittip
{'fraction_non_alphanumeric': 0.07230895645028759, 'fraction_numerical': 0.00657354149548069, 'mean_word_length': 4.434523809523809, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 7, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5035119', 'n_tokens_mistral': 1039, 'n_tokens_neox': 983, 'n_words': 509}