<commit_before>simple-dev-box
==============

simple dev book for NodeJS development

To get started: 

    vagrant up
    
To provision the VM after making changes: 

    vagrant provision
    
To run ansible or ansible-playbook against:
  
    ansible-playbook \
      -i vagrant_ansible_inventory_default \
      --private-key=~/.vagrant.d/insecure_private_key \
      -u vagrant \
      nodejs-single-node.yml


License
-------
Copyright (c) 2014 Weston Platter, BSD-3.


Author
------
<NAME><commit_msg>added install instructions for linux/mac<commit_after>simple-dev-box
==============
simple dev book for NodeJS development


### Install

- Every operating system
	- VirtualBox, [download here](https://www.virtualbox.org/wiki/Downloads)
	- Vagrant, [download here](http://www.vagrantup.com/downloads.html)
	
<br>

- Linux
	- git

		```
		sudo apt-get install git
		```
	    
	- ansible

		```
	    sudo add-apt-repository ppa:rquillo/ansible
    	sudo apt-get update
	    sudo apt-get install ansible
    	```
- Mac OSX (using Homebrew, [install instructions here](http://brew.sh/))
	- git
	
		```
		brew install git
		```
	
	- ansible 
	
		```
		brew install ansible
		```
	

### Getting started

To get started:

    vagrant up
    
To provision the VM after making changes:

    vagrant provision
    
Now you can SSH into the Vagrant machine, IE, the SimpleDevBox:

	vagrant ssh

Check that `git` and `nodejs` were installed (both should return version installed):

	git -v
	
	node -v
	

    
### Extra stuff
  
To run the ansible-playbook again:
  
    ansible-playbook \
      -i vagrant_ansible_inventory_default \
      --private-key=~/.vagrant.d/insecure_private_key \
      -u vagrant \
      nodejs-single-node.yml



License
-------
Copyright (c) 2014 <NAME>, BSD-3.


Author
------
<NAME>
{'fraction_non_alphanumeric': 0.12493090105030404, 'fraction_numerical': 0.00552791597567717, 'mean_word_length': 2.5770750988142295, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 1, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4761072', 'n_tokens_mistral': 649, 'n_tokens_neox': 584, 'n_words': 163}