summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-03-02 17:48:32 -0800
committerBen Sima <ben@bsima.me>2019-03-02 17:50:39 -0800
commitf9524766bd7eba9c429492017485d61188b76c87 (patch)
treeef67af35c3f8947a15947e4b4a7a22ffaba4c59c /README.md
parent3d0df3ed30014f22574af4b390553930ef7cbb7f (diff)
Better deploy script
Diffstat (limited to 'README.md')
-rw-r--r--README.md18
1 files changed, 7 insertions, 11 deletions
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