<commit_before>To generate a deployment manifest, perform the following steps:

1. Clone the <code>cf-release</code> GitHub repository. Use `git clone` to copy the latest Cloud Foundry configuration files onto your computer.

    <pre class="terminal">
    $ git clone https://github.com/cloudfoundry/cf-release.git
    </pre>

1. From the `cf-release` directory, run the update script to fetch all the submodules.

    <pre class="terminal">
    $ cd cf-release
    $ ./scripts/update
    </pre>
<p class="note"><strong>Note</strong>: Ensure that you have the most up-to-date version of the Cloud Foundry code and all required submodules.</p>

1. Install [spiff](https://github.com/cloudfoundry-incubator/spiff), a command line tool for generating deployment manifests.

1. Run `generate_deployment_manifest IAAS PATH-TO-MANIFEST-STUB > cf-deployment.yml` from the `cf-release` directory to create a deployment manifest named `cf-deployment.yml`. 
    * Replace `IAAS` with `aws`, `openstack`, or `vsphere`. Use `vsphere` for vSphere, vCloud Air, and vCloud Director. 
    * Replace `PATH-TO-MANIFEST-STUB` with the location of your `cf-stub.yml` file. 
<br><br>
The following example specifies AWS as an IaaS, and references a `cf-stub.yml` file located in the in the `cf-release` directory:
    <pre class="terminal">
    $ ./scripts/generate\_deployment\_manifest aws ./cf-stub.yml > cf-deployment.yml
    </pre>
    <p class="note"><strong>Note</strong>: The <code>generate\_deployment\_manifest</code> script can accept multiple stub files. For example, the following command passes two stub files to the script: <br/>
<code>./scripts/generate\_deployment\_manifest vsphere cf-stub.yml cf-consul.yml > cf-deployment.yml</code></p>

1. Use the `bosh deploy` command to set your deployment to the generated manifest:

    <pre class="terminal">
    $ bosh -e MY-ENV -d MY-DEPLOYMENT cf-deployment.yml
    </pre>

You are now ready to deploy Cloud Foundry. See the [Deploying Cloud Foundry](../common/deploy.html) topic for instructions.<commit_msg>Update _generic_manifest.html.md.erb<commit_after>To generate a deployment manifest, perform the following steps:

1. Clone the <code>cf-release</code> GitHub repository. Use `git clone` to copy the latest Cloud Foundry configuration files onto your computer.

    <pre class="terminal">
    $ git clone https://github.com/cloudfoundry/cf-release.git
    </pre>

1. From the `cf-release` directory, run the update script to fetch all the submodules.

    <pre class="terminal">
    $ cd cf-release
    $ ./scripts/update
    </pre>
<p class="note"><strong>Note</strong>: Ensure that you have the most up-to-date version of the Cloud Foundry code and all required submodules.</p>

1. Install [spiff](https://github.com/cloudfoundry-incubator/spiff), a command line tool for generating deployment manifests.

1. Run `generate_deployment_manifest IAAS PATH-TO-MANIFEST-STUB > cf-deployment.yml` from the `cf-release` directory to create a deployment manifest named `cf-deployment.yml`. 
    * Replace `IAAS` with `aws`, `openstack`, or `vsphere`. Use `vsphere` for vSphere, vCloud Air, and vCloud Director. 
    * Replace `PATH-TO-MANIFEST-STUB` with the location of your `cf-stub.yml` file. 
<br><br>
The following example specifies AWS as an IaaS, and references a `cf-stub.yml` file located in the in the `cf-release` directory:
    <pre class="terminal">
    $ ./scripts/generate\_deployment\_manifest aws ./cf-stub.yml > cf-deployment.yml
    </pre>
    <p class="note"><strong>Note</strong>: The <code>generate\_deployment\_manifest</code> script can accept multiple stub files. For example, the following command passes two stub files to the script: <br/>
<code>./scripts/generate\_deployment\_manifest vsphere cf-stub.yml cf-consul.yml > cf-deployment.yml</code></p>

You are now ready to deploy Cloud Foundry. See the [Deploying Cloud Foundry](../common/deploy.html) topic for instructions.
{'fraction_non_alphanumeric': 0.1160081053698075, 'fraction_numerical': 0.0022796352583586625, 'mean_word_length': 4.095483870967742, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 57, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, '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': '2759198', 'n_tokens_mistral': 1212, 'n_tokens_neox': 1162, 'n_words': 421}