khuedoan-homelab/docs/installation/production/deployment.md
Khue Doan adbaf32aa5 refactor(tools): switch to Nix
- Nix is more reproducible (pinned to a specific hash)
- Faster rebuild after changing the package list (due to /nix caching in volume)
- Users can still use make tools (wrapped in Docker) without installing Nix
- Using nix-shell will work if you have nix installed.
2022-08-26 19:08:52 +07:00

517 B

Deployment

Open the tools container if you haven't already:

=== "Docker"

```sh
make tools
```

=== "Nix"

```sh
nix-shell
```

Build the lab:

make

Yes it's that simple!

!!! example

<script id="asciicast-xkBRkwC6e9RAzVuMDXH3nGHp7" src="https://asciinema.org/a/xkBRkwC6e9RAzVuMDXH3nGHp7.js" async></script>

It will take a while to download everything, you can read the architecture document while waiting for the deployment to complete.