Skip to content

Commit

Permalink
docs: add brief nix instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
chfanghr committed Oct 8, 2022
1 parent 0613047 commit d2dffdb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,15 @@
## cli使用方法

1. 安装依赖(`requests``questionary`)
```
```bash
pip install -r requirements.txt
```

如果你使用[`nix`](https://nixos.org/)包管理器的话,只要运行以下命令,便可以进入一个包含所有依赖(包括`python`)的环境(请确保您启用了`nix flake`, [教程](https://nixos.wiki/wiki/Flakes)):
```bash
nix develop
```

2. 运行脚本
```
python main.py
Expand Down

0 comments on commit d2dffdb

Please sign in to comment.