> For the complete documentation index, see [llms.txt](https://onestopconcept.gitbook.io/open-endpoints/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://onestopconcept.gitbook.io/open-endpoints/installation/first-steps-after-installation/publish-application.md).

# Publish Application

{% hint style="info" %}
**The process to publish an application requires 2 steps:**

1. Commit changes in your application directory to Git
2. Use the "Publisher" to pull the latest revision of your application into the software.
   {% endhint %}

Open the application you want to publish:

![open appliction you want to publish image](https://cdn.openendpoints.io/images/gitbook/publish-application-open-app-to-publish.png)

Navigate to "**Publish**" in the main navigation. The Publisher lets you publish the latest version of your Git to Preview or Live Environment - see: [Environments](/open-endpoints/usage/environments.md).

![publish application](https://cdn.openendpoints.io/images/gitbook/publish-applictaion-publish.png)

## Publish to Preview

This option will:

1. Load the latest available revision from your Git repository
2. Check the new configuration for consistency and errors. If an error is found, the new version will not overwrite any existing status. A detailed description of the error is displayed.
3. On success the new revision will replace the previous configuration.

Promote Preview to Live

This option will not pull a new version from the Git, but simply copy the existing configuration from Preview to Live. No further check of consistency is required, as this had been done already when publishing that version to Preview.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://onestopconcept.gitbook.io/open-endpoints/installation/first-steps-after-installation/publish-application.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
