---
title: "Deploy a Beego App | Hostman Docs"
description: "Deploy a Beego app quickly and reliably on Hostman's cloud platform with simple, step-by-step guidance."
---

> For the complete documentation index for AI agents, see [llms.txt](https://hostman.com/llms.txt).

You can find the step-by-step deployment guide [here](https://hostman.com/docs/app-platform/backend-apps/).

Hostman uses the following environment when building a Beego application:

-   Go (installed from PPA `longsleep/golang-backports`)
    

By default, we will execute the following commands during the build:

```
add-apt-repository -y ppa:longsleep/golang-backports && apt-get install -y golang-go --fix-missing
```

If the project has the `go.mod` file, we will install the dependencies defined in it:

```shell
go mod download
```

The default command used to run the application is:

```
go run main.go
```

Make sure the file that initializes the application is named `main.go`.
