From 2e8923b383eb06c53261eee8e5c442b857fb67e4 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 24 Aug 2022 15:42:47 +0200 Subject: Move app files into cluster subdirectories; add prod garage --- app/cryptpad/build/README.md | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 app/cryptpad/build/README.md (limited to 'app/cryptpad/build/README.md') diff --git a/app/cryptpad/build/README.md b/app/cryptpad/build/README.md deleted file mode 100644 index 079d836..0000000 --- a/app/cryptpad/build/README.md +++ /dev/null @@ -1,29 +0,0 @@ -## Build - -Cryptpad being not NixOS native, an upgrade must be done in 4 steps: - 1. Bump the cryptpad version in `common.nix` - 2. Rebuild the Nix lock files for the dependencies - 3. Build the package for Nix - 4. Create a container from the Nix package - -To bump the nix version, set the desired tag in `common.nix` in the `cryptpadVersion` entry. -Set the corresponding commit in the `cryptadCommit` field, its goal would be to detect unwanted update of the tag. - -To rebuild the lock files (they are stored in the `nix.lock` folder): - -``` -nix-shell --run "update_lock" -``` - -To build cryptpad: - -``` -nix-build -``` - -Create the container: - -``` -docker load < $(nix-build docker.nix) -docker push superboum/cryptpad:??? -``` -- cgit v1.2.3