Web calculator for Probability Distributions
Find a file
Felipe Contreras Salinas 5947ac60d5
feat: add binomial distribution calc (#1)
Also, renames the project

Reviewed-on: #1
Co-authored-by: Felipe Contreras Salinas <felipe@bstr.cl>
Co-committed-by: Felipe Contreras Salinas <felipe@bstr.cl>
2025-12-08 15:54:09 -03:00
locales feat: add binomial distribution calc (#1) 2025-12-08 15:54:09 -03:00
public feat: add binomial distribution calc (#1) 2025-12-08 15:54:09 -03:00
src feat: add binomial distribution calc (#1) 2025-12-08 15:54:09 -03:00
.gitignore feat: first functional version 2025-03-14 18:09:17 -03:00
Cargo.lock feat: add binomial distribution calc (#1) 2025-12-08 15:54:09 -03:00
Cargo.toml feat: add binomial distribution calc (#1) 2025-12-08 15:54:09 -03:00
index.html feat: first functional version 2025-03-14 18:09:17 -03:00
LICENSE feat: add binomial distribution calc (#1) 2025-12-08 15:54:09 -03:00
README.md feat: add binomial distribution calc (#1) 2025-12-08 15:54:09 -03:00
rust-analyzer.toml chore: improve number display and other comsmetic fixes 2025-03-15 20:37:49 -03:00
rust-toolchain.toml feat: first functional version 2025-03-14 18:09:17 -03:00
rustfmt.toml chore: improve number display and other comsmetic fixes 2025-03-15 20:37:49 -03:00
Trunk.toml feat: first functional version 2025-03-14 18:09:17 -03:00

distribution-calc

Web calculator for Probability Distributions built using Leptos.

Dependencies

You will need to install the Rust toolchain. We recommend to do using Rustup. Once you do that, we will need to install the WASM target

rustup target add wasm32-unknown-unknown

We will also use the Trunk tool to run and build our project.

Finally, it's recommended to install the leptosfmt tool, since plain rustfmt can't dealt with view! macros very well.

cargo install leptosfmt

Developing

To develop the project, run

trunk serve --open

which, will open the app in your default browser at http://localhost:3000.

Deploying

To build the project for release, use the command

trunk build --release

This will output the files necessary to run your app into the dist folder; you can then use any static site host to serve these files.