From a72a8764c22f82b7ccfcbf166aa400fce31b0b54 Mon Sep 17 00:00:00 2001 From: guochao Date: Wed, 29 May 2024 20:12:18 +0800 Subject: [PATCH] update readme --- README.md | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index f415683..f043286 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,7 @@ -# Rust project scaffold +# 用 rust 复刻 https://git.jeffthecoder.xyz/public/chat-signaling-server -## use this repo +## 构建 -``` -nix-shell -p cargo --run 'cargo update' -nix-shell --expr 'with import {}; rustPackages.callPackage ./shell.nix {}' -``` - -or with flakes - -``` -nix shell nixpkgs#cargo --run cargo update -nix develop +```bash +docker load -i $(nix-build --expr '(import {}).callPackage ./docker-image.nix {}') ```