Update README
This commit is contained in:
14
README.md
14
README.md
@ -4,10 +4,24 @@
|
|||||||
## Install
|
## Install
|
||||||
|
|
||||||
1. 安裝 [CHIP_IO](https://github.com/xtacocorex/CHIP_IO)。
|
1. 安裝 [CHIP_IO](https://github.com/xtacocorex/CHIP_IO)。
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install git build-essential python3-dev python3-pip flex bison chip-dt-overlays -y
|
sudo apt-get install git build-essential python3-dev python3-pip flex bison chip-dt-overlays -y
|
||||||
sudo pip3 install CHIP-IO
|
sudo pip3 install CHIP-IO
|
||||||
```
|
```
|
||||||
|
|
||||||
|
2. 取得這個專案。
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git clone https://git.ntut.com.tw/PinLin/door-unlocker/
|
||||||
|
```
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
需要以 root 使用者執行。
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo python3 app.py
|
||||||
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user