1.7 KiB
1.7 KiB
Getting Started Guide
Welcome to Harmony! This guide will walk you through installing the Harmony framework, setting up a new project, and deploying your first application.
We will build and deploy the "Rust Web App" example, which automatically:
- Provisions a local K3D (Kubernetes in Docker) cluster.
- Deploys a sample Rust web application.
- Sets up monitoring for the application.
Prerequisites
Before you begin, you'll need a few tools installed on your system:
- Rust & Cargo: Install Rust
- Docker: Install Docker (Required for the K3D local cluster)
- kubectl: Install kubectl (For inspecting the cluster)
1. Install Harmony
First, clone the Harmony repository and build the project. This gives you the harmony CLI and all the core libraries.
# Clone the main repository
git clone https://git.nationtech.io/nationtech/harmony
cd harmony
# Build the project (this may take a few minutes)
cargo build --release
...
Next Steps
Congratulations, you've just deployed an application using true infrastructure-as-code!
From here, you can:
- Explore the Catalogs: See what other Scores and Topologies are available.
- Read the Use Cases: Check out the OKD on Bare Metal guide for a more advanced scenario.
- Write your own Score: Dive into the Developer Guide to start building your own components.