From f9524766bd7eba9c429492017485d61188b76c87 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Sat, 2 Mar 2019 17:48:32 -0800 Subject: Better deploy script --- README.md | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index ab47227..cac5b98 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,11 @@ This isn't totally in place yet, but it's something to work toward. +The two special locations are 'soar' and 'bild'. The former is for images and +other assets and is synced to digital ocean's object storage. The latter's +contents are gitignore'd and can be deleted at any time because they will just +be rebuilt later. + # Development To get a development shell, for example to work on ibb, you can do: @@ -55,18 +60,9 @@ not just how we write it; that is by design. To build the production server config locally: - make clean result + nix-build -A depo.nutin-madaj.system To push the built closure and switch to the new configuration (will ask for ssh passphrase 2x): - make copy switch - -A quick deploy can be just: - - make clean copy switch - -When that damn bug gets fixed, we could just do: - - nix-deploy --to root@simatime.com \ - --path $(nix-build --no-out-path ./nixos.nix) + chip/push nutin-madaj -- cgit v1.2.3