# Leilani Documentation > Leilani builds and hosts Rust applications from Git. Use the workspace console to manage deployments, environment variables, metrics, logs, and traces. The links below provide Markdown versions of the documentation, grouped by topic. Applications are configured with `leilani.json` and deployed by pushing to the workspace Git remote. ## Getting started - [How Leilani works](https://leilani.dev/docs/how-it-works.md): Leilani builds and hosts Rust applications. - [1. Create a workspace](https://leilani.dev/docs/workspace.md): Create a workspace, set a password, and find your Git remote. - [Deploy your first app](https://leilani.dev/docs/quickstart.md): Start with this small Axum application. - [2. Configure your app](https://leilani.dev/docs/configure.md): Create leilani.json beside Cargo.toml. - [3. Deploy with Git](https://leilani.dev/docs/deploy.md): Commit your application source, Cargo.toml, Cargo.lock, and leilani.json to your local main branch. ## Application management - [Environment variables](https://leilani.dev/docs/environment.md): Open Environment to add, edit, or delete variables, including before your first deployment. - [Manage your application](https://leilani.dev/docs/manage.md): Start and stop packages, redeploy source, and inspect deployment state. - [Persistent storage](https://leilani.dev/docs/storage.md): Write files that must survive deployments to /var/opt/lei. - [PostgreSQL](https://leilani.dev/docs/postgres.md): Add "postgres": true at the top level of leilani.json, commit, and push. - [Terminal](https://leilani.dev/docs/terminal.md): Open Terminal for an interactive shell in the active VM. - [Sign-in & Profile](https://leilani.dev/docs/account.md): Sign in with an email link, Continue with GitHub, or a registered passkey. - [Billing](https://leilani.dev/docs/billing.md): A workspace receives a seven-day trial without a card. ## Observability - [Dashboard metrics](https://leilani.dev/docs/metrics.md): Dashboard collects HTTP traffic, package resources, network traffic, and storage usage without application instrumentation. - [Logs](https://leilani.dev/docs/logs.md): Logs contains package output, build messages, package start and stop events, and HTTP request and response events recorded by Leilani’s proxy. - [Set up tracing](https://leilani.dev/docs/tracing.md): A trace follows one operation, such as an HTTP request or background job. - [Explore traces](https://leilani.dev/docs/trace-explorer.md): Open Traces after your application has exported spans. ## Configuration - [leilani.json reference](https://leilani.dev/docs/config-reference.md): Place one leilani.json at the Cargo workspace root, alongside its Cargo.toml. - [Build reference](https://leilani.dev/docs/builds.md): Leilani builds all Cargo workspace members in release mode with a locked dependency graph. - [Packages & restarts](https://leilani.dev/docs/packages.md): Cargo determines workspace membership through Cargo.toml. - [HTTP & static files](https://leilani.dev/docs/http.md): Bind your application to the configured port, for example 0.0.0.0:3000. - [Custom domains](https://leilani.dev/docs/domains.md): The built-in hostname is WORKSPACE-ID.aloha.leilani.dev. - [Application users](https://leilani.dev/docs/users.md): users defines credentials for visitors to your deployed application. - [Access rules](https://leilani.dev/docs/rules.md): Each rule applies to an exact hostname, a listed HTTP method, and a path matching its regular expression. - [Variable substitution](https://leilani.dev/docs/substitution.md): String values in leilani.json can reference environment variables using ${NAME}. - [Complete example](https://leilani.dev/docs/complete-example.md): This configuration starts an API and a worker from one Cargo workspace. ## Support - [Troubleshooting](https://leilani.dev/docs/troubleshooting.md): Resolve Git authentication, build, HTTP, terminal, and deployment issues.