diff options
author | Ben Sima <ben@bsima.me> | 2019-03-02 17:48:32 -0800 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2019-03-02 17:50:39 -0800 |
commit | f9524766bd7eba9c429492017485d61188b76c87 (patch) | |
tree | ef67af35c3f8947a15947e4b4a7a22ffaba4c59c /README.md | |
parent | 3d0df3ed30014f22574af4b390553930ef7cbb7f (diff) |
Better deploy script
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 18 |
1 files changed, 7 insertions, 11 deletions
@@ -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 |