<commit_before>litterbox
=========

CodeCatz litterbox - pieces of shitty code

### What's this?

Just a litterbox where we can play with Git and Python. Very messy, lots of fun.

### Web development with Flask

[Flask](http://flask.pocoo.org/) is super slim web framework for Python.
To install it just try

    sudo pip install Flask
    
If you don't have `pip` try this also

    sudo easy_install pip
    
Running `flask` web application

    cd Goranche/webServer
    python server.py
    
Now open `http://localhost:5000` with your favorite web browser and see what happens.

### Vagrant environment

First install [VirtualBox](https://www.virtualbox.org/) and then [Vagrant](http://www.vagrantup.com/)

    git clone git://github.com/zigomir/rvdb.git ~/.rvdb --recursive && cd ~/.rvdb && git checkout python
    vagrant up
    vagrant ssh
    cd /vagrant
<commit_msg>make flask instructions human friendly<commit_after>litterbox
=========

CodeCatz litterbox - pieces of shitty code

### What's this?

Just a litterbox where we can play with Git and Python. Very messy, lots of fun.

### Web development with Flask

#### Install Flask

[Flask](http://flask.pocoo.org/) is a super slim web framework for Python.
To install it just try running:

    sudo pip install Flask
    
If you don't have `pip`, you can also try:

    sudo easy_install pip
    

#### An example Flask app

In your local copy of the litterbox repo, move into the folder Goranche/webServer and run the Python script that start a simple web server.

    cd Goranche/webServer
    python server.py
    
Now open `http://localhost:5000` with your favorite web browser and see what happens.

### Vagrant environment

First install [VirtualBox](https://www.virtualbox.org/) and then [Vagrant](http://www.vagrantup.com/)

    git clone git://github.com/zigomir/rvdb.git ~/.rvdb --recursive && cd ~/.rvdb && git checkout python
    vagrant up
    vagrant ssh
    cd /vagrant

{'fraction_non_alphanumeric': 0.10066769388803287, 'fraction_numerical': 0.004108885464817668, 'mean_word_length': 3.3579418344519016, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, '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': '2903106', 'n_tokens_mistral': 608, 'n_tokens_neox': 578, 'n_words': 235}