<commit_before># Overview

This tool deploys a concourse server, linux worker, and mac worker onto a target mac. It will also install any missing dependencies that are necessary for deploying concourse onto the target machine.

# Motivation

1. Projects often need a quick and simple CI setup.
1. We would like to use concourse in our projects more often.
1. The default concourse docker images do not allow iOS tests to be run. This tool includes a mac worker to address this need.

# Usage

There are two machine entities involved when using this tool: the control machine, and the target machine. They can be the same machine, or two separate machines.

The control machine can be thought of as the machine initiating provisioning, and the target machine is the machine that you would like to deploy concourse onto. 

You will need sudo access either way, and you will also need ssh access to the target machine if it is not localhost.

This tool requires the following packages installed on the control machine in order to run:
  * [ansible](http://docs.ansible.com/ansible/)

It also requires the following packages to be installed on the target machine:
  * [virtualbox](https://www.virtualbox.org/)
  * [xcode command line tools](https://developer.apple.com/xcode/)

----

**Examples**:

*Control machine deploys to itself (aka deploy to localhost)*

```
git clone https://github.com/pivotal-tokyo/concourse-local-mac-provisioner

cd concourse-local-mac-provisioner/ansible

./run-concourse-mac-provisioner.sh localhost

# Concourse is now running at http://localhost:8000<commit_msg>Updated readme: added homebrew to target machine deps<commit_after># Overview

This tool deploys a concourse server, linux worker, and mac worker onto a target mac. It will also install any missing dependencies that are necessary for deploying concourse onto the target machine.

# Motivation

1. Projects often need a quick and simple CI setup.
1. We would like to use concourse in our projects more often.
1. The default concourse docker images do not allow iOS tests to be run. This tool includes a mac worker to address this need.

# Usage

There are two machine entities involved when using this tool: the control machine, and the target machine. They can be the same machine, or two separate machines.

The control machine can be thought of as the machine initiating provisioning, and the target machine is the machine that you would like to deploy concourse onto. 

You will need sudo access either way, and you will also need ssh access to the target machine if it is not localhost.

This tool requires the following packages installed on the control machine in order to run:
  * [ansible](http://docs.ansible.com/ansible/)

It also requires the following packages to be installed on the target machine:
  * [virtualbox](https://www.virtualbox.org/)
  * [xcode command line tools](https://developer.apple.com/xcode/)
  * [homebrew](https://brew.sh)

----

**Examples**:

*Control machine deploys to itself (aka deploy to localhost)*

```
git clone https://github.com/pivotal-tokyo/concourse-local-mac-provisioner

cd concourse-local-mac-provisioner/ansible

./run-concourse-mac-provisioner.sh localhost

# Concourse is now running at http://localhost:8000
{'fraction_non_alphanumeric': 0.06699446834665028, 'fraction_numerical': 0.0043023970497848806, 'mean_word_length': 4.275526742301459, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 7, 'lorem ipsum': 0, 'www.': 2, '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': '3761383', 'n_tokens_mistral': 873, 'n_tokens_neox': 826, 'n_words': 439}