Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ThomasK33/devspace-quickstart-rust

Repository files navigation

devspace-quickstart-rust

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.

Table of Contents

Requirements

How to Use

  1. Clone the repository:

    git clone https://github.com/ThomasK33/devspace-quickstart-rust.git
    cd devspace-quickstart-rust
  2. Run the local development environment:

    just run
  3. Within the devspace container, run:

    cargo run
  4. Access the application at: http://localhost:3000.

  5. When you're done, exit the devspace containerd and stop the local development environment:

    just stop

Justfile Commands

  • 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.

License

This project is licensed under the MIT License.

Contact

Thomas Kosiewski - thoma471@googlemail.com

Project Link: https://github.com/ThomasK33/devspace-quickstart-rust

About

Simple quick-start Rust project for use with DevSpace

Topics

Resources

License

Stars

Watchers

Forks

AltStyle によって変換されたページ (->オリジナル) /