Skip to content

Commit

Permalink
docs: add trunk instructions
Browse files Browse the repository at this point in the history
Locally, running `cargo run` no longer works: however, `trunk serve`
seems to complete the task just fine.
  • Loading branch information
DakshG07 committed Aug 22, 2024
1 parent 1d362dd commit a45f718
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ You'll probably want to paste the code into a function in your `autons.cpp`. It'

### Testing locally

Make sure you are using the latest version of stable rust by running `rustup update`.
Make sure you are using the latest version of stable rust by running `rustup update`. Additionally, make sure to install [`trunk`](https://trunkrs.dev).

`cargo run --release`
`cargo install --locked trunk`

`trunk serve`

On Linux you may need to first run:

Expand Down

0 comments on commit a45f718

Please sign in to comment.