update readme
This commit is contained in:
parent
5ace438d57
commit
a72a8764c2
16
README.md
16
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 <nixpkgs> {}; rustPackages.callPackage ./shell.nix {}'
|
||||
```
|
||||
|
||||
or with flakes
|
||||
|
||||
```
|
||||
nix shell nixpkgs#cargo --run cargo update
|
||||
nix develop
|
||||
```bash
|
||||
docker load -i $(nix-build --expr '(import <nixpkgs> {}).callPackage ./docker-image.nix {}')
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user