Hosting
The Project tab that lists your app's services on AirHost, with their addresses, when they were deployed and the way to their logs.
The Hosting tab shows the services your app runs on AirHost: how many there are, which are live, which was deployed last, and one row per service with its address. From a row you open the service’s page, its live logs, or a new version to deploy. For how hosting fits together, see Host your app’s backend, database and sign-in (AirHost).
Open it
Open the Project’s chat, tap the tabs button (four squares) in the top-right corner, then tap Hosting in the list under the tab cards.
Open the Project’s chat and choose View › Go To › Hosting, or open the inspector (View › Show Inspector, ⌥⌘I), click New Tab (+) and click Hosting.
What’s on it
| Part | What it shows or does | Default |
|---|---|---|
| Services | How many services the app has. | — |
| Live | How many of them have been deployed. | — |
| Last Deployed | How long ago the newest deployment was, with that service’s name under it. | “—” when nothing has been deployed |
| With Database | How many services use a database. | — |
| Service rows | One per service: the dot (lit when it has been deployed), the name, the address, and how long ago it was deployed. Tap the row for its Service page; tap the address to open the service in a new Website tab. | — |
| Deploy (Mac) | In the inspector’s bar under the page, once the tab lists at least one service. Opens Deploy Service. | — |
While the tab first loads, the numbers and rows shimmer in place. If the list can’t be read, the numbers show “—”.
Pull down on the page (iPhone, iPad) to read it again.
The row’s menu
Touch and hold a service’s row (on the Mac, right-click it):
| Item | What it does |
|---|---|
| Open in New Tab | Opens the service’s address in a new Website tab. |
| Live Logs | Opens Live Logs for the service. |
| Deploy New Version… | Opens Update Service for the service. On iPhone and iPad this is the way to deploy a new version. |
| Copy Address | Copies the service’s address. |
Before there are services
While the app has no services, the tab is AirHost’s own page: “Your app’s own server, ready when you are.” Tap Ask Agents to Add and the app asks first: Ask Agents to Add, with the message it will send, “Add AirHost to the app”. Tap Cancel to send nothing, or Send to send it. In the Project’s chat, the message appears as your own, with a strip under it showing AirHost’s image, its name and an arrow; tap the strip to open this tab. The chat comes to the front. Back on the tab, the page says “Sent to the project chat” and offers Open Chat. See Ask your Agents to set it up.
Messages
| Message | When | What to do |
|---|---|---|
| The reason, with Try Again | The list of services couldn’t be read. | Tap Try Again. |
| That Didn’t Work, with the reason | A change from this tab (such as removing a service) was refused or AirBuild couldn’t be reached. | Tap OK, fix what it says, and try again. |
| “Select a project in the sidebar to manage its app services.” | The tab isn’t showing a Project. | Pick a Project. |