Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corregir el cambio de idioma en el Readme.md #74

Merged
merged 1 commit into from
Dec 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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`.
Loading