forked from Fediversity/Fediversity
document dev process
This commit is contained in:
parent
8f785d7582
commit
8a50680b9f
1 changed files with 4 additions and 0 deletions
|
@ -14,6 +14,10 @@ $ echo "{\"terraform-nixos\": $(nix-instantiate --eval --json -E '(import ../npi
|
|||
|
||||
```sh
|
||||
$ nix-shell
|
||||
$ eval "$(ssh-agent -s)"
|
||||
# set your ssh key, e.g.:
|
||||
$ ssh_key="$(readlink -f ~/.ssh/id_ed25519)"
|
||||
$ echo "{\"ssh_private_key_file\": \"${ssh_key}\", \"deploy_environment\": {\"SSH_AUTH_SOCK\": \"${SSH_AUTH_SOCK}\"}}" > .auto.tfvars.json
|
||||
$ rm -rf .terraform/
|
||||
$ tofu init
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue