<commit_before># Vagrant Nodebox for KYPO visualization tool

A virtual envirnment for running KYPO games visualizations

### Software
 - NodeJS & npm
 - Http-server
 - Git
 - [Git Aware Prompt](https://github.com/jimeh/git-aware-prompt)

**NB.** This is a 64 bit install.  If you have a 32 bit system, this will not work.

# Networking

The Vagrant box is assigned the IP 10.20.30.60.  You can access all the services from this IP address.  It is a good idea to put this into [your hosts file](http://www.howtogeek.com/howto/27350/beginner-geek-how-to-edit-your-hosts-file/) for a dev URL of your project.


# How to install

 1. Download and install Vagrant from [VagrantUp.com](http://www.vagrantup.com/downloads.html)
 2. Download and install VirtualBox from [Virtualbox.org](https://www.virtualbox.org/)
 3. In the root of the project, type `vagrant up` (this will take a loooong time)
 4. That's it. The app is now running. 
 	* server runs on localhost:5000 (on your host machine)
 	* clinet runs on localhost: 4201 (on your host machine)

(your 5000 port is forwarded to 5000 port on the virtual machine,
 your 4201 port is forwarded to 4200 port on the virtual machine)

## Pausing the VM

* to pause the VM in its current state, use `vagrant suspend`
* to run it again , use `vagrant up`
    * it should wake up much faster and still be running the client app<commit_msg>readme update<commit_after># Vagrant Nodebox for KYPO visualization tool

A virtual envirnment for running KYPO games visualizations

### Software
 - NodeJS & npm
 - Http-server
 - Git
 - [Git Aware Prompt](https://github.com/jimeh/git-aware-prompt)

**NB.** This is a 64 bit install.  If you have a 32 bit system, this will not work.

# How to install

 1. Download and install Vagrant from [VagrantUp.com](http://www.vagrantup.com/downloads.html)
 2. Download and install VirtualBox from [Virtualbox.org](https://www.virtualbox.org/)
 3. In the root of the project, type `vagrant up` (this will take a loooong time)
 4. That's it. The app is now running. 
 	* server runs on localhost:5000 (on your host machine)
 	* client runs on localhost: 4201 (on your host machine)

(your 5000 port is forwarded to 5000 port on the virtual machine,
 your 4201 port is forwarded to 4200 port on the virtual machine)

## Pausing the VM

* to pause the VM in its current state, use `vagrant suspend`
* to run it again , use `vagrant up`
    * it should wake up much faster and still be running the client app
{'fraction_non_alphanumeric': 0.0843762616067824, 'fraction_numerical': 0.03108599111828825, 'mean_word_length': 3.6843100189035916, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 5, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6010612', 'n_tokens_mistral': 850, 'n_tokens_neox': 749, 'n_words': 352}