Skip to content

AndrejOrsula/AndrejOrsula.github.io

Repository files navigation

CI/CD

My portfolio website written in Rust on top of egui.

Instructions

Native App

Note

Rust and Cargo are required for compilation of this app. Install them through your package manager or via https://rustup.rs.

Compile and run the app locally with Cargo.

cargo run

Web App

Note

WebAssembly target is required for the compilation of this app for the web. Furthermore, Trunk greatly simplifies the process of building and serving the app.

rustup target add wasm32-unknown-unknown
cargo install --locked trunk

You can serve the app locally with Trunk and view it in your browser at http://localhost:8080. You can also specify the --address to view the app on other devices in your local network.

trunk serve --open

Tip

The deployment of the app to GitHub Pages is automated through the ci.yml workflow on every push to the main branch.

License

This project is dual-licensed under either the MIT or Apache 2.0 licenses.