Update quick-start.md

Spanish translation
This commit is contained in:
yayguru 2025-02-13 18:00:56 +01:00 committed by GitHub
parent 3f97d89c09
commit fb814cb848
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,80 +1,80 @@
# Quick Start
# Inicio Rápido
To run Codex through this guide we would need to perform the following steps:
- [Review the disclaimer](/codex/disclaimer)
- [Get Codex binary](#get-codex-binary)
- [Run Codex](#run-codex)
- [Interact with Codex](#interact-with-codex)
Para ejecutar Codex a través de esta guía, necesitaremos realizar los siguientes pasos:
- [Revisar el descargo de responsabilidad](/codex/disclaimer)
- [Obtener el binario de Codex](#get-codex-binary)
- [Ejecutar Codex](#run-codex)
- [Interactuar con Codex](#interact-with-codex)
## Get Codex binary
## Obtener el binario de Codex
For quick a start we will use precompiled binaries from [GitHub release page](https://github.com/codex-storage/nim-codex/releases). If you prefer to compile from the sources, please check [Build Codex](/learn/build).
Para un inicio rápido, utilizaremos binarios precompilados desde la [página de lanzamiento de GitHub](https://github.com/codex-storage/nim-codex/releases). Si prefiere compilar desde las fuentes, consulte [Compilar Codex](/learn/build).
Please follow the steps for your OS from the list:
Por favor, siga los pasos para su sistema operativo de la lista:
- [Linux/macOS](#linux-macos)
- [Windows](#windows)
### Linux/macOS
1. Install latest Codex release
1. Instalar la última versión de Codex
```shell
curl -s https://get.codex.storage/install.sh | bash
```
2. Install dependencies
2. Instalar dependencias
```shell
# Debian-based Linux
sudo apt update && sudo apt install libgomp1
```
3. Check the result
3. Verificar el resultado
```shell
codex --version
```
### Windows
1. Install latest Codex release
1. Instalar la última versión de Codex
```batch
curl -sO https://get.codex.storage/install.cmd && install.cmd
```
> [!WARNING]
> Windows antivirus software and built-in firewalls may cause steps to fail. We will cover some possible errors here, but always consider checking your setup if requests fail - in particular, if temporarily disabling your antivirus fixes it, then it is likely to be the culprit.
> [¡ATENCIÓN!]
> El software antivirus de Windows y los firewalls integrados pueden causar que los pasos fallen. Cubriremos algunos posibles errores aquí, pero siempre considere verificar su configuración si las solicitudes fallan; en particular, si deshabilitar temporalmente su antivirus lo soluciona, entonces es probable que sea el culpable.
If you see an error like:
Si ve un error como:
```batch
curl: (35) schannel: next InitializeSecurityContext failed: CRYPT_E_NO_REVOCATION_CHECK (0x80092012) - The revocation function was unable to check revocation for the certificate.
```
You may need to add the `--ssl-no-revoke` option to your curl calls, i.e., modify the calls above so they look like this:
Es posible que necesite añadir la opción `--ssl-no-revoke` a sus llamadas cuirl, es decir, modificar las llamadas anteriores para que se vean así:
```batch
curl -LO --ssl-no-revoke https://...
```
2. Update path using console output
- Current session only
2. Actualizar el PATH usando la salida de la consola
- Solo sesión actual
```batch
:: Default installation directory
set "PATH=%PATH%%LOCALAPPDATA%\Codex;"
```
- Update PATH permanently
- Control Panel --> System --> Advanced System settings --> Environment Variables
- Alternatively, type `environment variables` into the Windows Search box
- Actualizar el PATH permanentemente
Panel de control --> Sistema --> Configuración avanzada del sistema --> Variables de entorno
- Alternativamente, escriba `environment variables` en el cuadro de búsqueda de Windows
3. Check the result
3. Verificar el resultado
```shell
codex --version
```
## Run Codex
## Ejecutar Codex
We may [run Codex in different modes](/learn/run#run), and for a quick start we will run [Codex node](/learn/run#codex-node), to be able to share files in the network.
Podemos [ejecutar Codex en diferentes modos](/learn/run#run), y para un inicio rápido ejecutaremos un [nodo de Codex](/learn/run#codex-node), para poder compartir archivos en la red.
1. Run Codex
1. Ejecutar Codex
**Linux/macOS**
```shell
@ -89,32 +89,32 @@ We may [run Codex in different modes](/learn/run#run), and for a quick start we
**Windows**
> [!WARNING]
> Windows might at this stage prompt you to grant internet access to Codex. You must allow it for things to work.
> It also might be required to add incoming firewall rules for Codex and we can use `netsh` utility.
> [¡ATENCIÓN!]
> Windows podría en esta etapa pedirle que otorgue acceso a Internet a Codex. Debe permitirlo para que las cosas funcionen.
> ambién podría ser necesario añadir reglas de firewall de entrada para Codex y podemos usar la utilidad `netsh` .
<details>
<summary>add firewall rules using netsh</summary>
```batch
:: Add rules
:: Añadir reglas
netsh advfirewall firewall add rule name="Allow Codex (TCP-In)" protocol=TCP dir=in localport=8070 action=allow
netsh advfirewall firewall add rule name="Allow Codex (UDP-In)" protocol=UDP dir=in localport=8090 action=allow
:: List rules
:: Listar reglas
netsh advfirewall firewall show rule name=all | find /I "Codex"
:: Delete rules
:: Eliminar reglas
netsh advfirewall firewall delete rule name="Allow Codex (TCP-In)"
netsh advfirewall firewall delete rule name="Allow Codex (UDP-In)"
```
</details>
```batch
:: Get Public IP
:: Obtener IP Pública
for /f "delims=" %a in ('curl -s --ssl-reqd ip.codex.storage') do set nat=%a
:: Run Codex
:: Ejecutar Codex
codex ^
--data-dir=datadir ^
--disc-port=8090 ^
@ -124,27 +124,27 @@ We may [run Codex in different modes](/learn/run#run), and for a quick start we
--bootstrap-node=spr:CiUIAhIhAiJvIcA_ZwPZ9ugVKDbmqwhJZaig5zKyLiuaicRcCGqLEgIDARo8CicAJQgCEiECIm8hwD9nA9n26BUoNuarCEllqKDnMrIuK5qJxFwIaosQ3d6esAYaCwoJBJ_f8zKRAnU6KkYwRAIgM0MvWNJL296kJ9gWvfatfmVvT-A7O2s8Mxp8l9c8EW0CIC-h-H-jBVSgFjg3Eny2u33qF7BDnWFzo7fGfZ7_qc9P
```
> [!TIP]
> In the example above we use [Codex Testnet](/networks/testnet#bootstrap-nodes) bootstrap nodes and thus we join Testnet. If you would like to join a different network, please use [appropriate value](/networks/networks).
> [¡CONSEJO!]
> En el ejemplo anterior, utilizamos los nodos de arranque de [Codex Testnet](/networks/testnet#bootstrap-nodes) y, por lo tanto, nos unimos a Testnet. Si desea unirse a una red diferente , utilice el [valor apropiado](/networks/networks).
2. Configure port-forwarding for the TCP/UDP ports on your Internet router
| Protocol | Service | Port |
2. Configurar el reenvío de puertos para los puertos TCP/UDP en su enrutador de Internet
| Protocolo | Servicio | Puerto |
| -------- | --------- | ------ |
| UDP | Discovery | `8090` |
| TCP | Transport | `8070` |
| UDP | Descubrimiento | `8090` |
| TCP | Transporte | `8070` |
If you would like to purchase or sell storage, please consider to run [Codex node with marketplace support](/learn/run#codex-node-with-marketplace-support) or [Codex storage node](/learn/run#codex-storage-node).
Si desea comprar o vender almacenamiento, considere ejecutar [Nodo Codex con soporte de marketplace](/learn/run#codex-node-with-marketplace-support) o [Nodo de almacenamiento Codex](/learn/run#codex-storage-node).
## Interact with Codex
## Interactuar con Codex
When your Codex node is up and running you can interact with it using [Codex App UI](https://app.codex.storage) for files sharing.
Cuando su nodo Codex esté en funcionamiento, puede interactuar con él utilizando la [UI de la aplicación de Codex](https://app.codex.storage) para compartir archivos.
Also, you can interact with Codex using [Codex API](/developers/api) and for a walk-through of the API, consider following the [Using Codex](/learn/using) guide.
Además, puede interactuar con Codex utilizando la [API de Codex](/developers/api) y, para un recorrido por la API, considere seguir la guía [Usando Codex](/learn/using).
## Stay in touch
## Mantente en Contacto
Want to stay up-date, or looking for further assistance? Try our [discord-server](https://discord.gg/codex-storage).
¿Quiere mantenerse actualizado o busca más ayuda? Pruebe nuestro [servidor de Discord](https://discord.gg/codex-storage).
Ready to explore Codex functionality? Please [Join Codex Testnet](/networks/testnet).
¿Listo para explorar la funcionalidad de Codex? Por favor [Únase a Codex Testnet](/networks/testnet).
If you want to run Codex locally without joining the Testnet, consider trying the [Codex Two-Client Test](/learn/local-two-client-test) or the [Running a Local Codex Network with Marketplace Support](/learn/local-marketplace).
Si desea ejecutar Codex localmente sin unirse a Testnet, considere probar la [Prueba de dos clientes Codex ](/learn/local-two-client-test) o la [Ejecución de una red Codex local con soporte de Marketplace](/learn/local-marketplace).