Uses Google Location History to find out when people were unknowingly near each other in both a spatial and temporal sense
This guide will help you set up the project by installing necessary dependencies and tools.
-
Add WASM as a target to rustup
rustup target add wasm32-unknown-unknown
-
Install Trunk
Trunk is a WASM web application bundler for Rust.
cargo install trunk
-
Install cargo-make
cargo-make is a task runner for Rust.
cargo install cargo-make
-
Download Node.js dependencies
npm install
This will install the dependencies listed in the
package.json
file. -
Run locally
Navigate to the project directory and run:
trunk serve --open
This will install the dependencies listed in the
Cargo.toml
file and serve the application locally -
More Options
Take a look at Makefile.toml for cargo-make targets. Here is one example
cargo make run-dev
This runs the same command as Step 5.