# Deployment

To deploy your application, you have to compile it, and then host the JavaScript, CSS, and HTML on a web server. Built Angular applications are very portable and can live in any environment or served by any technology, such as Node, Java, .NET, PHP, and many others.

### Building locally

To build your application locally or for production, You need to follow [Setup Project](/installation-and-setup/setup-project.md#step-4-prepare-build-of-your-project)  STEP 4 - Prepare Build of Your Project.

### **Hosting the built project**

The files in the `dist/` folder are static and can be hosted on any web server capable of serving file&#x73;**.**

To host a Drift Angular app on web host, you'll need to upload or send the files to the host. Because you are building a Single Page Application, you'll also need to make sure you redirect any invalid URLs to your `index.html` file.

For more details to deploy an Angular app go to [Deployment](https://angular.io/start/deployment).


---

# 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://docs-drift-angular.g-axon.work/installation-and-setup/deployment.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.
