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 {}') ```