forked from Fediversity/Fediversity
19 lines
319 B
Markdown
19 lines
319 B
Markdown
# service deployment
|
|
|
|
## usage
|
|
|
|
### updating TF modules
|
|
|
|
```sh
|
|
$ npins update nixos-anywhere
|
|
$ cd launch/
|
|
$ echo "{\"nixos-anywhere\": $(nix-instantiate --eval --json -E '(import ../npins).nixos-anywhere.outPath')}" > .auto.tfvars.json
|
|
```
|
|
|
|
### local development
|
|
|
|
```sh
|
|
$ nix-shell
|
|
$ rm -rf .terraform/
|
|
$ tofu init
|
|
```
|