# 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>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://engine.sygnal.com/usage/building-and-deploying-code.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
