Rustaceans Network
Important
Make sure you have gone through the Prerequisites section before running the following commands.
This project uses a Client ↔ Server architecture, two process (one for each of these components) should be runned in order to run the application locally.
Create a terminal session for the client, and run the following command:
just client
Then create another terminal session and navigate to the server crate
cd crates/server/
Install the dependencies using Bun
bun install
and run the following command:
just server
Rust can be installed by running the following command in your terminal:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Then install the wasm32-unknown-unknown
toolchain by running:
rustup target add wasm32-unknown-unknown
Bun can be installed by running the following command in your terminal:
curl -fsSL https://bun.sh/install | bash
Justfile can be installed by running the following command in your terminal:
cargo install just
Worker Build can be installed by running the following command in your terminal:
cargo install worker-build
Trunk can be installed by running the following command in your terminal:
cargo install trunk
Read more here: https://developers.cloudflare.com/workers/languages/rust/