From 260ebdde3cfd9794397951a605b49e9b915bb1e8 Mon Sep 17 00:00:00 2001
From: Paul Valladares <85648028+dreyfus92@users.noreply.github.com>
Date: Thu, 16 May 2024 11:10:51 -0600
Subject: [PATCH 1/6] i18n(es): update `getting-started` (#8297)
Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
---
src/content/docs/es/getting-started.mdx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/content/docs/es/getting-started.mdx b/src/content/docs/es/getting-started.mdx
index 770c6135dbd67..d8ac35783449d 100644
--- a/src/content/docs/es/getting-started.mdx
+++ b/src/content/docs/es/getting-started.mdx
@@ -13,7 +13,7 @@ hero:
title: Docs de Astro
tagline: Guías, recursos y referencias de API para ayudarte a construir con Astro.
actions:
- - text: Empezar
+ - text: Instalar Astro
icon: rocket
link: /es/install/auto/
variant: primary
@@ -64,4 +64,4 @@ import Discord from '~/components/Landing/Discord.astro'
-
\ No newline at end of file
+
From 793d86174d1f05e40c7248ae1817cf8747baeec3 Mon Sep 17 00:00:00 2001
From: Junseong Park
Date: Fri, 17 May 2024 02:19:36 +0900
Subject: [PATCH 2/6] i18n(ko-KR): add
`actions-without-server-output-error.mdx` (#8291)
* i18n(ko-KR): add `actions-without-server-output-error.mdx`
* fix: typo
---------
Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
---
.../actions-without-server-output-error.mdx | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 src/content/docs/ko/reference/errors/actions-without-server-output-error.mdx
diff --git a/src/content/docs/ko/reference/errors/actions-without-server-output-error.mdx b/src/content/docs/ko/reference/errors/actions-without-server-output-error.mdx
new file mode 100644
index 0000000000000..39f8178bde2d2
--- /dev/null
+++ b/src/content/docs/ko/reference/errors/actions-without-server-output-error.mdx
@@ -0,0 +1,15 @@
+---
+title: Actions must be used with server output.
+i18nReady: true
+githubURL: https://github.com/withastro/astro/blob/main/packages/astro/src/core/errors/errors-data.ts
+---
+
+> **ActionsWithoutServerOutputError**: Actions enabled without setting a server build output. A server is required to create callable backend functions. To deploy routes to a server, add a server adapter to your astro config.
+
+## 무엇이 잘못되었나요?
+Actions를 사용하여 백엔드 함수를 생성하려면 프로젝트에 서버 출력이 있어야 합니다.
+
+**더 보기:**
+- [요청 시 렌더링](/ko/basics/rendering-modes/#요청-시-렌더링)
+
+
From e927103828d87a60bc2ef2dbe2b2612856aaeda6 Mon Sep 17 00:00:00 2001
From: Junseong Park
Date: Fri, 17 May 2024 02:28:50 +0900
Subject: [PATCH 3/6] i18n(ko-KR): add
`prerender-client-address-not-available.mdx` (#8292)
Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
---
.../prerender-client-address-not-available.mdx | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 src/content/docs/ko/reference/errors/prerender-client-address-not-available.mdx
diff --git a/src/content/docs/ko/reference/errors/prerender-client-address-not-available.mdx b/src/content/docs/ko/reference/errors/prerender-client-address-not-available.mdx
new file mode 100644
index 0000000000000..4618767d89522
--- /dev/null
+++ b/src/content/docs/ko/reference/errors/prerender-client-address-not-available.mdx
@@ -0,0 +1,16 @@
+---
+title: Astro.clientAddress cannot be used inside prerendered routes.
+i18nReady: true
+githubURL: https://github.com/withastro/astro/blob/main/packages/astro/src/core/errors/errors-data.ts
+---
+
+> **PrerenderClientAddressNotAvailable**: `Astro.clientAddress` cannot be used inside prerendered routes
+
+## 무엇이 잘못되었나요?
+`Astro.clientAddress` 속성은 사전 렌더링된 경로에서 사용할 수 없습니다.
+
+**더 보기:**
+- [사전 렌더링 선택](/ko/guides/server-side-rendering/#server-모드에서-사전-렌더링-선택)
+- [Astro.clientAddress](/ko/reference/api-reference/#astroclientaddress)
+
+
From df62c02fd084034a76c3c73bb4f8dcb75a278ff9 Mon Sep 17 00:00:00 2001
From: Paul Valladares <85648028+dreyfus92@users.noreply.github.com>
Date: Thu, 16 May 2024 11:36:52 -0600
Subject: [PATCH 4/6] i18n(es): update `supabase` (#8299)
Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
---
src/content/docs/es/guides/backend/supabase.mdx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/content/docs/es/guides/backend/supabase.mdx b/src/content/docs/es/guides/backend/supabase.mdx
index 325f779f53dd7..661661038403b 100644
--- a/src/content/docs/es/guides/backend/supabase.mdx
+++ b/src/content/docs/es/guides/backend/supabase.mdx
@@ -259,7 +259,7 @@ import Layout from "../layouts/Layout.astro";
-
+
```
From 933317f5950ae44fa169aaf8c9274ce0a762494b Mon Sep 17 00:00:00 2001
From: Paul Valladares <85648028+dreyfus92@users.noreply.github.com>
Date: Thu, 16 May 2024 11:45:25 -0600
Subject: [PATCH 5/6] i18n(es): add `zerops` (#8265)
* i18n(es): add `zerops`
* Update src/content/docs/es/guides/deploy/zerops.mdx
Co-authored-by: Waxer59 <78129249+Waxer59@users.noreply.github.com>
---------
Co-authored-by: Waxer59 <78129249+Waxer59@users.noreply.github.com>
Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
---
src/content/docs/es/guides/deploy/zerops.mdx | 164 +++++++++++++++++++
1 file changed, 164 insertions(+)
create mode 100644 src/content/docs/es/guides/deploy/zerops.mdx
diff --git a/src/content/docs/es/guides/deploy/zerops.mdx b/src/content/docs/es/guides/deploy/zerops.mdx
new file mode 100644
index 0000000000000..6ec4e86679812
--- /dev/null
+++ b/src/content/docs/es/guides/deploy/zerops.mdx
@@ -0,0 +1,164 @@
+---
+title: Despliega tu sitio de Astro en Zerops
+description: Cómo desplegar tu sitio de Astro en la web usando Zerops.
+type: deploy
+i18nReady: true
+---
+import PackageManagerTabs from '~/components/tabs/PackageManagerTabs.astro'
+import { Steps } from '@astrojs/starlight/components';
+
+[Zerops](https://zerops.io/) es una plataforma en la nube centrada en el desarrollo que se puede utilizar para desplegar un sitio Astro SSR.
+
+Esta guía te guiará a través del despliegue de un proyecto de Astro utilizando el adaptador Node.js en Zerops.
+
+## Prerrequisitos
+
+- **Un proyecto de Astro usando el [adaptador SSR `@astrojs/node`](/es/guides/integrations-guide/node/)**
+- **Una cuenta de Zerops** - Si aún no tienes una, puedes [crear una cuenta de Zerops](https://zerops.io/) de forma gratuita.
+
+:::tip[Comienza desde una plantilla]
+¡El [ejemplo de aplicación Zerops x Astro - Node.js](https://github.com/zeropsio/recipe-astro-nodejs) se puede importar directamente en tu [Panel de Zerops](https://app.zerops.io/dashboard/projects) y desplegar en un solo clic!
+
+```yaml
+project:
+ name: astro
+services:
+ - hostname: astronode
+ type: nodejs@20
+ buildFromGit: https://github.com/zeropsio/recipe-astro-nodejs
+ ports:
+ - port: 4321
+ httpSupport: true
+ enableSubdomainAccess: true
+ minContainers: 1
+```
+:::
+
+## Crear un proyecto de Node.js en Zerops
+
+Puedes crear un servicio Node.js para tu sitio Astro a través del [asistente `project add` de Zerops](https://app.zerops.io/dashboard/project-add) o importando un sitio Astro usando `.yaml`.
+
+La siguiente estructura YAML configurará un proyecto llamado `my-astro-sites` con un servicio Node.js v20 llamado `hellothere`. Un proyecto de Zerops puede contener muchas aplicaciones Astro.
+
+```yaml
+project:
+ name: my-astro-sites
+services:
+ - hostname: hellothere
+ type: nodejs@20
+ ports:
+ - port: 4321
+ httpSupport: true
+ minContainers: 1
+```
+
+
+## Construir y desplegar tu aplicación en Zerops
+
+Ahora que has preparado un servicio Node.js en Zerops, necesitarás crear un archivo `zerops.yml` en la raíz de tu proyecto para activar el proceso de compilación y despliegue en Zerops.
+
+El siguiente ejemplo muestra la configuración de las operaciones de construcción y ejecución necesarias para el proyecto de ejemplo con el nombre de host `hellothere`:
+
+
+
+ ```yaml title="zerops.yml"
+ zerops:
+ - setup: hellothere
+ build:
+ base: nodejs@20
+ buildCommands:
+ - npm i
+ - npm run build
+ deploy:
+ - dist
+ - package.json
+ - node_modules
+ cache:
+ - node_modules
+ - package-lock.json
+ run:
+ start: node dist/server/entry.mjs
+ envVariables:
+ HOST: 0.0.0.0
+ NODE_ENV: production
+ ```
+
+
+ ```yaml title="zerops.yml"
+ zerops:
+ - setup: hellothere
+ build:
+ base: nodejs@20
+ buildCommands:
+ - pnpm i
+ - pnpm run build
+ deploy:
+ - dist
+ - package.json
+ - node_modules
+ cache:
+ - node_modules
+ - pnpm-lock.json
+ run:
+ start: node dist/server/entry.mjs
+ envVariables:
+ HOST: 0.0.0.0
+ NODE_ENV: production
+ ```
+
+
+ ```yaml title="zerops.yml"
+ zerops:
+ - setup: astronode
+ build:
+ base: nodejs@20
+ buildCommands:
+ - yarn
+ - yarn build
+ deploy:
+ - dist
+ - package.json
+ - node_modules
+ cache:
+ - node_modules
+ - yarn.lock
+ run:
+ start: node dist/server/entry.mjs
+ envVariables:
+ HOST: 0.0.0.0
+ NODE_ENV: production
+ ```
+
+
+
+### Desencadenar el pipeline usando GitHub / GitLab
+Para configurar el despliegue continuo en una rama o en un nuevo lanzamiento, ve a los detalles del servicio Node.js y conecta tu servicio de Zerops con un repositorio de GitHub o GitLab.
+
+
+### Desencadenar el pipeline usando Zerops CLI (zcli)
+
+
+1. Instala la CLI de Zerops.
+ ```shell
+ # Para descargar el binario de zcli directamente,
+ # usa https://github.com/zeropsio/zcli/releases
+ npm i -g @zerops/zcli
+ ```
+
+2. Abre [`Settings > Access Token Management`](https://app.zerops.io/settings/token-management) en la aplicación de Zerops y genera un nuevo token de acceso.
+
+3. Inicia sesión usando tu token de acceso con el siguiente comando:
+ ```shell
+ zcli login
+ ```
+
+4. Navega a la raíz de tu aplicación (donde se encuentra `zerops.yml`) y ejecuta el siguiente comando para desencadenar el despliegue:
+ ```shell
+ zcli push
+ ```
+
+
+## Recursos
+
+- [Desplegando Astro a Zerops en 3 minutos](https://medium.com/@arjunaditya/how-to-deploy-astro-to-zerops-4230816a62b4)
+- [Guía detallada para crear un servicio Node.js en Zerops](https://docs.zerops.io/nodejs/how-to/create)
From aac50857eb020c3a1af9dcafe445f51afd38de9e Mon Sep 17 00:00:00 2001
From: Gary Sassano <10464497+garysassano@users.noreply.github.com>
Date: Fri, 17 May 2024 13:47:02 +0100
Subject: [PATCH 6/6] fix minor detail in tutorial 3 (#8300)
Co-authored-by: Sarah Rainsberger
---
src/content/docs/en/tutorial/3-components/1.mdx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/content/docs/en/tutorial/3-components/1.mdx b/src/content/docs/en/tutorial/3-components/1.mdx
index f55dbde77a819..6dd3780e5d366 100644
--- a/src/content/docs/en/tutorial/3-components/1.mdx
+++ b/src/content/docs/en/tutorial/3-components/1.mdx
@@ -52,9 +52,12 @@ To hold `.astro` files that will generate HTML but that will not become new page
1. Go back to `index.astro` and import your new component inside the code fence:
- ```astro title="src/pages/index.astro"
+ ```astro title="src/pages/index.astro" ins={2}
---
import Navigation from '../components/Navigation.astro';
+ import "../styles/global.css";
+
+ const pageTitle = "Home Page";
---
```