# Building & Deploying Code

In our simple configuration,&#x20;

## Deploying to TEST

Deployments to TEST are done within **VSCode**.&#x20;

* Save your work
* Build your project, `npm run build`
* Check in the files changed, and commit them back to the `dev` branch
* Push the changes to Github origin&#x20;

Wait 10 seconds for Netlify to complete the build, and your changes are live on your TEST site!

{% hint style="info" %}
This assumes you've setup a persistent TEST environment, discussed under advanced install notes in the setup guide. This is useful primarily if you want your clients to be able to review TEST changes before you bring your changes to PROD.&#x20;
{% endhint %}

## Deploying to PROD&#x20;

Deployments to PROD are done within **Github**

* Do a PR from to merge the changes from the `dev` branch to `main`&#x20;
* Merge the PR&#x20;

Wait 10 seconds for Netlify to complete the build, and your changes are live on your production site!

## Overview &#x20;

{% embed url="<https://www.loom.com/share/62b93b66fd8e4a438cb0473801731a7a>" %}
