This is my old portfolio website
My portfolio website, created using Leptos. This is a side project and its primary function, is for me to learn webassembly and rust. Feel free to use any code you want and help me improve the app.
The website should be available at portfolio.lerpz.com
Install cargo-leptos.
cargo install --locked cargo-leptos
Start using the nightly toolchain if not already.
rustup toolchain install nightlyrustup default nightlyrustup target add wasm32-unknown-unknown
Install tailwindcss to compile styling.
npm i -g pnpmpnpm i
Start the application in watch mode for development.
cargo leptos watch
The server will be available at 0.0.0.0:3000. (Is also using port 3001)
Install Docker, if not installed.
Build the docker container and run it.
docker build . -t portfolio-rsdocker run -d --name portfolio -p 3000:3000 portfolio-rs
The server will then be available at 0.0.0.0:3000.
The website runs on a cloud platform called Fly.io.
The GitHub workflow will automatically build the docker image, and later use it to then publish the container to Fly.io.