Skip to content

Commit

Permalink
docs: translate English sections in readme to Spanish
Browse files Browse the repository at this point in the history
  • Loading branch information
Juanperias committed Dec 29, 2024
1 parent 4d0f9a8 commit 2d5ee9a
Showing 1 changed file with 27 additions and 26 deletions.
53 changes: 27 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,45 +6,47 @@
<img alt="GitHub Workflow Status (with event)" src="https://img.shields.io/github/actions/workflow/status/RustLangES/RustLangES.github.io/gh-pages.yml?label=deploy" />
</p>

## Requisitos Generales
antes de empezar tienes que instalar estos programas
## Requisitos Generales
Antes de empezar es necesario tener estos programas
- [Rust](https://rust-lang.org/tools/install)
- [NodeJs](https://nodejs.org)

## Requisitos Windows >= 10
- [BusyBox](https://busybox.net/)
- try: `scoop install busybox`
- try: `choco install busybox`
## Requisitos Windows >= 10
-[BusyBox](https://busybox.net/)
- Usando scoop `scoop install busybox`
- Usando choco `choco install busybox`

## Desarrollo
> [!NOTE]
> necesitas fetch git submodules para clonar los assets externos para el desarrollo
```sh
git submodule update --init --recursive
```

Now you can run:

Con estos comandos podrá empezar a desarrollar
```bash
git submodule update --init --recursive
rustup toolchain install nightly
```
```bash
rustup default nightly
```
```bash
rustup target add wasm32-unknown-unknown
npm install
cargo install cargo-make
```

### Si usas nix

> [!NOTE]
> Asegúrate de tener los flakes activados.
Si usas nix es bastante sencillo, solo necesitas este comando:
```bash
npm install
nix develop
```

Ahora podemos iniciar el servidor con:
```bash
cargo install cargo-make
cargo make serve
```

For do a commit:
```
Para hacer un commit:
```bash
cargo install rusty-hook
cargo install leptosfmt --version 0.1.13
```
Expand Down Expand Up @@ -76,10 +78,9 @@ Agrega esto en tu `settings.json`



# Summary

This project uses a custom branch of Leptos to be able to directly serve the output directory as a static website.
# Resumen
Este proyecto utiliza una rama personalizada de Leptos para poder servir directamente el directorio de salida como un sitio web estático.

`cargo make serve` serves the div directory with watch mode and hot-reload enabled.
`cargo make build` builds the project in release. The output will be in the `dist` directory and the command will not serve it, but quit instead.
`cargo make fmt` formats with `rustfmt` and `leptosfmt`.
`cargo make serve` sirve el directorio div con watch mode y hot-reload.
`cargo make build` compila el proyecto en release. La salida estará en el directorio `dist` y el comando no lo servirá, sino que se cerrará.
`cargo make fmt` formatea con `rustfmt` y `leptosfmt`.

0 comments on commit 2d5ee9a

Please sign in to comment.