<commit_before># zanph

##first things first:

OSX:

* install xcode command-line tools

`xcode-select --install`

* install homebrew:

`/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`

* install zmq:

`brew install zmq`

* install python with homebrew (also installs Setuptools and pip)

`brew install python`

* install python zmq bindings

`easy_install pyzmq`
or
`pip install --wheel pyzmq`
or
`pip install pyzmq`

###other stuff we might use at some point maybe
* postgreSQL:

`brew install postgreSQL`

* scrapy:

`pip install scrapy`

* requests:

`pip install requests`

* flask:

`pip install flask`<commit_msg>instructions for using flask + virtual env<commit_after># zanph

##first things first:

OSX:

* install xcode command-line tools

`xcode-select --install`

* install homebrew:

`/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`

* install zmq:

`brew install zmq`

* install python with homebrew (also installs Setuptools and pip)

`brew install python`

* install python zmq bindings

`easy_install pyzmq`
or
`pip install --wheel pyzmq`
or
`pip install pyzmq`


###using the flask site with virtual env:

* install virtual env
 
`pip install venv`

there is a virtual env folder `venv` in `/flaskroulette` with all necessary packages installed. to use it, do

`. venv/bin/activate` from `/flaskroulette`.



###other stuff we might use at some point maybe
* postgreSQL:

`brew install postgreSQL`

* scrapy:

`pip install scrapy`

* requests:

`pip install requests`

* flask:

`pip install flask`
{'fraction_non_alphanumeric': 0.10740740740740741, 'fraction_numerical': 0.0, 'mean_word_length': 4.314754098360655, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4566014', 'n_tokens_mistral': 577, 'n_tokens_neox': 545, 'n_words': 190}