# ¿Cómo despliego una aplicación en un Stack?

Para desplegar tu aplicación seguí estos pasos:

* Ingresá al directorio de tu Stack:\
  \
  `cd stack/<Lenguaje>/<Stack>/`

{% hint style="info" %}
La ruta al Stack elegido en el menú siempre será:&#x20;

`stack/<Lenguaje>/<Stack>/`<br>

**Ejemplo**:\
`stack/python/flask-redis/`

`stack/java/tomcat-mysql/`
{% endhint %}

* Detené el Stack desplegado con este comando:\
  \
  `docker compose down`<br>
* Subí tu aplicación al directorio **/app** ya sea mediante un pull de Git, usando wget o el método que prefieras.
* Luego desplegá tu aplicación o sus actualizaciones con el comando:\
  \
  `docker compose up --build`

Eso es todo. Estos pasos deberás correrlos al desplegar tu aplicación por primera vez o al actualizarla.


---

# 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://ayuda.sitioshispanos.com/menu-principal/guias/servidor-de-aplicaciones/como-despliego-una-aplicacion-en-un-stack.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.
