| title | description |
|---|---|
Quickstart |
A detailed guide on how to get started with the rshyper project. |
Listed below are the tools and dependencies required to build and run the project:
To streamline the installation of additional, cargo-based tooling ensure that cargo-binstall is installed. This tool allows you to install Rust binaries easily and quickly.
cargo install cargo-binstallEnsure that rustup and all installed toolchains are updated:
rustup updateOptionally, instal the wasm32-* targets for WebAssembly development:
rustup target add wasm32-unknown-unknown wasm32-wasip1 wasm32-wasip2Get started by cloning the repository:
git clone https://github.com/FL03/rshyper.git --branch mainThen, navigate to the project directory:
cd rshyperFor native development, you can run the server using cargo:
cargo run --locked --release --features full --bin pzzld --Build the project using the wasm32 target:
cargo build --locked --workspace --release --features wasi --target wasm32-wasip2You can also build the project using Docker. Start by building the Docker image:
docker buildx build --platform linux/amd64 -t jo3mccain/rshyper:latest -f ./Dockerfile .Then, run the Docker container:
docker run -d -it --rm -p 8080:8080 -v $(pwd):/app jo3mccain/rshyper:latestThis will start the server and bind it to port 8080 on your host machine. You can access the server by navigating to http://localhost:8080 in your web browser.