Skip to content

Commit

Permalink
chore: update dev steps
Browse files Browse the repository at this point in the history
  • Loading branch information
fundon committed Nov 1, 2023
1 parent c7cbb9c commit df7e794
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,24 @@

Built with [Leptos] · Deploys on [Cloudflare].

* English: https://viz.rs

* 简体中文: https://zh-cn.viz.rs

## Development

1. Install [`cargo-make`]

```bash
$ cargo install --force cargo-make
```

2. Install [`trunk`]

> **Note**: The latest **master** branch includes the **copy-dir** feature.
```bash
$ cargo install --git https://github.com/thedodd/trunk
$ cargo install --force cargo-make trunk
```

3. Serve `en`, `zh-cn` or other language
2. Serve `en`, `zh-CN`, `zh-TW` or other language

```bash
$ cargo make dev-en
$ cargo make dev
```

4. Build
3. Build

```bash
$ cargo make build-en
$ cargo make build
```

[Leptos]: https://github.com/leptos-rs/leptos
Expand Down

0 comments on commit df7e794

Please sign in to comment.