2023-09-28 11:08:15 +00:00
|
|
|
# Frontend
|
2023-10-09 08:18:56 +00:00
|
|
|
|
|
|
|
As the mainpage of Nerdcult, the code contained in this repository includes
|
|
|
|
the Rust-written frontend script source as well as the HTML markup code and
|
|
|
|
the CSS styling.
|
2023-09-29 06:19:03 +00:00
|
|
|
|
|
|
|
## Running locally
|
2023-10-09 08:18:56 +00:00
|
|
|
|
|
|
|
First, install `trunk`:
|
|
|
|
|
2023-09-29 06:19:03 +00:00
|
|
|
```bash
|
|
|
|
cargo install trunk
|
|
|
|
```
|
2023-10-09 08:18:56 +00:00
|
|
|
Make sure that `$HOME/.cargo/bin` is included in your `PATH`.
|
|
|
|
|
|
|
|
Following that, execute the following in the project's root directory:
|
2023-09-29 06:19:03 +00:00
|
|
|
|
|
|
|
```bash
|
|
|
|
trunk serve
|
|
|
|
```
|
2023-10-09 08:18:56 +00:00
|
|
|
|