Trying to build a localy deployed LLM source language models, on a full Rust web stack
Since this project uses Leptos for server-side rendering, we need to grab build tools.
cargo install --locked cargo-leptoscargo leptos watchRun the build command to get the server binary in target/release and site package in target/site and to start the server:
cargo leptos serve --releaseBy default, cargo-leptos uses nightly Rust, cargo-generate, and sass. If you run into any trouble, you may need to install one or more of these tools.
rustup toolchain install nightly --allow-downgrade- make sure you have Rust nightlyrustup target add wasm32-unknown-unknown- add the ability to compile Rust to WebAssemblycargo install cargo-generate- installcargo-generatebinary (should be installed automatically in future)npm install -g sass- installdart-sass(should be optional in future)- Run
npm installin end2end subdirectory before test