<commit_before>##### grtp.co server setup

grtp.co is hosted on Digital Ocean servers (called
`droplets`). So you need to create `droplet` and login
through SSH to continue.

The system-application layout is following:

    /etc/nginx/sites-enabled/grtp.co  - nginx config
    /home/grtp.co/production          - code checkout
      \__ .git/hooks/post-receive     - auto-update script

Then use root/sudo to **create
user `grtp`** with **home at `grtp.co`** and install
required packages - **nginx**, **git**.

    adduser grtp --home=/home/grtp.co --disabled-password --gecos ""
    apt-get install nginx git
    
    # now log into grtp user
    su grtp

With new `grtp` user:

    cd ~
    git clone https://github.com/gratipay/grtp.co.git production
    cd production

setup automatic update on push:

    cp infra/post-receive .git/hooks/
    chmod +x .git/hooks/post-receive<commit_msg>infra/README.md: indent dir tree<commit_after>##### grtp.co server setup

grtp.co is hosted on Digital Ocean servers (called
`droplets`). So you need to create `droplet` and login
through SSH to continue.

The system-application layout is following:

    /etc/nginx/sites-enabled/grtp.co  - nginx config
    /home/grtp.co/production          - code checkout
                    .git/hooks/post-receive
                                      - auto-update script

Then use root/sudo to **create
user `grtp`** with **home at `grtp.co`** and install
required packages - **nginx**, **git**.

    adduser grtp --home=/home/grtp.co --disabled-password --gecos ""
    apt-get install nginx git
    
    # now log into grtp user
    su grtp

With new `grtp` user:

    cd ~
    git clone https://github.com/gratipay/grtp.co.git production
    cd production

setup automatic update on push:

    cp infra/post-receive .git/hooks/
    chmod +x .git/hooks/post-receive
{'fraction_non_alphanumeric': 0.11141157382368848, 'fraction_numerical': 0.0, 'mean_word_length': 2.5576923076923075, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '864929', 'n_tokens_mistral': 607, 'n_tokens_neox': 573, 'n_words': 190}