<commit_before># Brthrs Vagrant Box

A Vagrant Box. In the flavours EMP or Wordpress. Created to get your HTML/PHP website or Wordpress website up and running in no time.

What you'll get:

* Ubuntu 16.04 LTS
* nginx 1.10.0
* MySQL 5.7
* PHP 7

With the additional packages:
* Git
* Adminer
* Certbot
* Composer
* Landscape
* Node and npm
* Postfix
* Postgres
* Vim
* WP-CLI
* Bower
* Gulp
* Wordpress 4.7.3 (Wordpress box)

## How To

## Prerequisites
You'll need the following applications on your machine:

- Vagrant (https://www.vagrantup.com)
- VirtualBox (https://www.virtualbox.org)

### Getting Started
Place the `Vagrantfile` of either the `default` or `wordpress` directory in the root of your project. The default one is great for simple HTML and PHP, the latter for Wordpress.

Open Terminal.app, and change to the directory where your code resides and where you placed the `Vagrantfile`, i.e:
```bash
cd ~/Development/willemdafoe-theme
```

Start the virtual machine:
```bash
vagrant up
```

Depending on your host machine and internet connection this can take some time.

While Vagrant is getting your machine up and running you will be asked which network adapter should be used. For example, if you're on Wi-Fi this is probably option '1'.

Your machine is now running!

### Access to your box
Get access to the machine by using:
```bash
vagrant ssh
```

After you ssh in to the machine it will share bits of information with you. One bit is the IP address on which your machine is accessible. It's the second one (often `eth1`).

Even though this address will get you to the running machine it's recommended to add it to your host file for easy access. This is actually required for the Wordpress box since Wordpress is set to run on a specific domain (wordpress.dev).

Add these records to your local machine's hosts file by editing `/private/etc/hosts` in a separate shell:
```bash
sudo vim /private/etc/hosts
```
```
10.0.1.41    brthrs.dev
10.0.1.42    wordpress.dev
10.0.1.43    anythingyouwant.really
```

You can now access your machine on either of the following domains http://brthrs.dev or http://wordpress.dev.

### Working with

#### Wordpress
Make sure your theme files are in your project directory. The vanilla Wordpress theme is still the default one, so make sure to activate yours.

* URL: http://wordpress.dev
* User: `wp`
* Password: `wp`
* Email: `<EMAIL>`

#### MySQL
* Username: `root`
* Password: `<PASSWORD>`
<commit_msg>We're no using different domains.<commit_after># Brthrs Vagrant Box

A Vagrant Box. In the flavours EMP or Wordpress. Created to get your HTML/PHP website or Wordpress website up and running in no time.

What you'll get:

* Ubuntu 16.04 LTS
* nginx 1.10.0
* MySQL 5.7
* PHP 7

With the additional packages:
* Git
* Adminer
* Certbot
* Composer
* Landscape
* Node and npm
* Postfix
* Postgres
* Vim
* WP-CLI
* Bower
* Gulp
* Wordpress 4.7.3 (Wordpress box)

## How To

## Prerequisites
You'll need the following applications on your machine:

- Vagrant (https://www.vagrantup.com)
- VirtualBox (https://www.virtualbox.org)

### Getting Started
Place the `Vagrantfile` of either the `default` or `wordpress` directory in the root of your project. The default one is great for simple HTML and PHP, the latter for Wordpress.

Open Terminal.app, and change to the directory where your code resides and where you placed the `Vagrantfile`, i.e:
```bash
cd ~/Development/willemdafoe-theme
```

Start the virtual machine:
```bash
vagrant up
```

Depending on your host machine and internet connection this can take some time.

While Vagrant is getting your machine up and running you will be asked which network adapter should be used. For example, if you're on Wi-Fi this is probably option '1'.

Your machine is now running!

### Access to your box
Get access to the machine by using:
```bash
vagrant ssh
```

After you ssh in to the machine it will share bits of information with you. One bit is the IP address on which your machine is accessible. It's the second one (often `eth1`).

Even though this address will get you to the running machine it's recommended to add it to your host file for easy access. This is actually required for the Wordpress box since Wordpress is set to run on a specific domain (wordpress.dev).

Add these records to your local machine's hosts file by editing `/private/etc/hosts` in a separate shell:
```bash
sudo vim /private/etc/hosts
```
```
10.0.1.41    vagrant.dev
10.0.1.42    wordpress.dev
10.0.1.43    anythingyouwant.really
```

You can now access your machine on either of the following domains http://vagrant.dev or http://wordpress.dev.

### Working with

#### Wordpress
Make sure your theme files are in your project directory. The vanilla Wordpress theme is still the default one, so make sure to activate yours.

* URL: http://wordpress.dev
* User: `wp`
* Password: `wp`
* Email: `<EMAIL>`

#### MySQL
* Username: `root`
* Password: `<PASSWORD>`

{'fraction_non_alphanumeric': 0.08730800323362975, 'fraction_numerical': 0.0137429264349232, 'mean_word_length': 3.9889112903225805, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 6, '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': '549977', 'n_tokens_mistral': 1586, 'n_tokens_neox': 1457, 'n_words': 716}