<commit_before>pubstack
========

Publisher's Local Development Stack

## Features
 - PHP 5.5.x
  - Drupal/Drush
  - XhProf
  - XDEBUG
  - New Relic
 - memcached
 - Splunk
 - Ruby/NodeJS

## Installation

1. Install [Vagrant](http://www.vagrantup.com/).

1. Install [VirtualBox](https://www.virtualbox.org/).

1. Install Ansible:
    - [Latest Releases Via Homebrew (Mac OSX)](http://docs.ansible.com/intro_installation.html#latest-releases-via-homebrew-mac-osx):
      `brew update && brew install ansible`

    - [Latest Releases Via Apt (Ubuntu)](http://docs.ansible.com/intro_installation.html#latest-releases-via-apt-ubuntu)
    - [See all](http://docs.ansible.com/intro_installation.html#installing-the-control-machine)

1. Create a local copy of at least one project you want to work on (for example in `~/Sites/nbcu/Publisher7`).

1. Clone this repo to ~/pubstack:
    ```bash
    git clone --branch master git@github.com:NBCUOTS/pubstack.git ~/pubstack
    cd ~/pubstack
    ```
    **Note**: the full path where you clone this repo **should not include spaces** or you will experience errors when you start up your vagrant box for the first time.

1. Install Hostupdater:
    ```bash
    vagrant plugin install vagrant-hostsupdater
    ```<commit_msg>Adding note about pubstack-shell<commit_after>pubstack
========

Publisher's Local Development Stack

## Features
 - PHP 5.5.x
  - Drupal/Drush
  - XhProf
  - XDEBUG
  - New Relic
 - memcached
 - Splunk
 - Ruby/NodeJS

## Easy Installation

Using [nbcutechnology/pubstack-shell](https://github.com/NBCUTechnology/pubstack-shell) is the easy way to get started with Pubstack

1. Install Composer
2. `composer global require nbcutechnology/pubstack-shell ~1.0`
3. `pubstack init`
4. `vagrant plugin install vagrant-hostsupdater`
5. `pubstack configure` (and edit the configuration to how you want it)
6. `pubstack up`


## Manual Installation

1. Install [Vagrant](http://www.vagrantup.com/).

1. Install [VirtualBox](https://www.virtualbox.org/).

1. Install Ansible:
    - [Latest Releases Via Homebrew (Mac OSX)](http://docs.ansible.com/intro_installation.html#latest-releases-via-homebrew-mac-osx):
      `brew update && brew install ansible`

    - [Latest Releases Via Apt (Ubuntu)](http://docs.ansible.com/intro_installation.html#latest-releases-via-apt-ubuntu)
    - [See all](http://docs.ansible.com/intro_installation.html#installing-the-control-machine)

1. Create a local copy of at least one project you want to work on (for example in `~/Sites/nbcu/Publisher7`).

1. Clone this repo to ~/pubstack:
    ```bash
    git clone --branch master <EMAIL>:NBCUOTS/pubstack.git ~/pubstack
    cd ~/pubstack
    ```
    **Note**: the full path where you clone this repo **should not include spaces** or you will experience errors when you start up your vagrant box for the first time.

1. Install Hostupdater:
    ```bash
    vagrant plugin install vagrant-hostsupdater
    ```
{'fraction_non_alphanumeric': 0.12482993197278912, 'fraction_numerical': 0.008843537414965987, 'mean_word_length': 3.646129541864139, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 3, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 1, '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': '694339', 'n_tokens_mistral': 1013, 'n_tokens_neox': 950, 'n_words': 279}