This is a simple quick-start Rust project for use with DevSpace. It's a minimal web application that uses the axum web framework and runs inside a Kubernetes cluster managed by kind or k3d.
-
Clone the repository:
git clone https://github.com/ThomasK33/devspace-quickstart-rust.git cd devspace-quickstart-rust
-
Run the local development environment:
just run
-
Within the devspace container, run:
cargo run
-
Access the application at:
http://localhost:3000
. -
When you're done, exit the devspace containerd and stop the local development environment:
just stop
just run
: Runs the local development environment.just stop
: Stops the local development environment.just create-kind
: Creates a local kind cluster.just delete-kind
: Deletes the local kind cluster.just create-k3d
: Sets up a local k3d cluster and registry.just delete-k3d
: Deletes the local k3d cluster and registry.just dev
: Runs devspace in Kubernetes cluster.just purge
: Purges devspace deployment.
This project is licensed under the MIT License.
Thomas Kosiewski - [email protected]
Project Link: https://github.com/ThomasK33/devspace-quickstart-rust