<commit_before># Namubufferi Alpha
Test app @ https://namupankki.herokuapp.com/

## TODOs
* UI Facelift, it still is all default Bootstrap Paper and looks like shit.
* Too much modals
* Refactor
    * There's some dead code that could be removed
    * Split namubufferiapp to smaller reusable apps
    * ...

## How to dev?
### 1. Install Postgres
#### Ubuntu/Debian
    # Install PostgresSQL
    # https://help.ubuntu.com/community/PostgreSQL#Alternative_Server_Setup
    # https://devcenter.heroku.com/articles/heroku-postgresql#local-setup
    sudo apt-get install postgresql
    sudo apt-get install python-psycopg2
    sudo apt-get install libpq-dev
    sudo -u postgres createuser --superuser $USER
#### Mac
    https://devcenter.heroku.com/articles/heroku-postgresql#set-up-postgres-on-mac
### 2. Setup
    ./bin/setup
### 3. Run
    ./bin/run

## How to deploy?
### Heroku:
* `git checkout heroku`
* Checklist: https://docs.djangoproject.com/en/1.9/howto/deployment/checklist/
* Create Heroku Account: https://www.heroku.com/

        heroku login
        heroku create *appname* --region eu  
        git push heroku heroku:master
        heroku run ./bin/heroku-setup

### Apache:
* Checklist: https://docs.djangoproject.com/en/1.9/howto/deployment/checklist/
* https://docs.djangoproject.com/en/1.9/howto/deployment/wsgi/modwsgi/<commit_msg>Edit readme<commit_after># Namubufferi Alpha
Test app @ https://namupankki.herokuapp.com/

## TODOs
* UI Facelift, it still is all default Bootstrap Paper and looks like shit.
* Too much modals
* Refactor
    * There's some dead code that could be removed
    * Split namubufferiapp to smaller reusable apps
    * ...

## How to dev?
### 1. Install Postgres
#### Ubuntu/Debian
    # Install PostgresSQL
    # https://help.ubuntu.com/community/PostgreSQL#Alternative_Server_Setup
    # https://devcenter.heroku.com/articles/heroku-postgresql#local-setup
    sudo apt-get install postgresql
    sudo apt-get install python-psycopg2
    sudo apt-get install libpq-dev
    sudo -u postgres createuser --superuser $USER
#### Mac
    https://devcenter.heroku.com/articles/heroku-postgresql#set-up-postgres-on-mac
### 2. Setup
    ./bin/setup
### 3. Run
    ./bin/run

## How to deploy?
### Heroku:
* Checklist: https://docs.djangoproject.com/en/1.9/howto/deployment/checklist/
* Create Heroku Account: https://www.heroku.com/

        heroku login
        heroku create *appname* --region eu  
        git push heroku master
        heroku run ./bin/heroku-setup

### Apache:
* Checklist: https://docs.djangoproject.com/en/1.9/howto/deployment/checklist/
* https://docs.djangoproject.com/en/1.9/howto/deployment/wsgi/modwsgi/
{'fraction_non_alphanumeric': 0.1265443654062149, 'fraction_numerical': 0.007487832272557095, 'mean_word_length': 3.20125786163522, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 16, 'lorem ipsum': 0, 'www.': 2, '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': '2691703', 'n_tokens_mistral': 953, 'n_tokens_neox': 889, 'n_words': 209}