summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-02-17 14:16:21 -0800
committerBen Sima <ben@bsima.me>2019-02-17 14:16:21 -0800
commite8f2ad8304310f7ddbd79da3a649d4b16e067478 (patch)
tree67681cebb597b5a75003ff263e3d595303f75af4 /README.md
parent563bf764f0e6705ec0f5b6daf82585b8041e8056 (diff)
Create makefile
More flexible than a script
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 8 insertions, 3 deletions
diff --git a/README.md b/README.md
index a093a45..60845a2 100644
--- a/README.md
+++ b/README.md
@@ -2,11 +2,16 @@
To build the production server config locally:
- nix-build --attr system ./nixos.nix
+ make clean result
-To deploy (will ask for ssh passphrase 2x):
+To push the built closure and switch to the new configuration (will ask for ssh
+passphrase 2x):
- ./deploy.sh
+ make copy switch
+
+A quick deploy can be just:
+
+ make clean copy switch
When that damn bug gets fixed, we could just do: