From 4d15df1add7365adae4825cef00076b9a3979e0c Mon Sep 17 00:00:00 2001 From: Pin Lin Date: Tue, 11 Dec 2018 00:56:58 +0800 Subject: [PATCH] Update README --- README.md | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b122a55..2d86782 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,24 @@ ## Install 1. 安裝 [CHIP_IO](https://github.com/xtacocorex/CHIP_IO)。 - ```bash - sudo apt-get update - sudo apt-get install git build-essential python3-dev python3-pip flex bison chip-dt-overlays -y - sudo pip3 install CHIP-IO - ``` +```bash +sudo apt-get update +sudo apt-get install git build-essential python3-dev python3-pip flex bison chip-dt-overlays -y +sudo pip3 install CHIP-IO +``` + +2. 取得這個專案。 + +```bash +git clone https://git.ntut.com.tw/PinLin/door-unlocker/ +``` + +## Usage + +需要以 root 使用者執行。 + +```bash +sudo python3 app.py +```