Skip to content

Commit

Permalink
Merge pull request #8 from InterestingLab/rickyhuo.docs.readme
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
garyelephant authored Jul 15, 2019
2 parents 3a01d30 + 3832f83 commit 3caa461
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,6 @@ pip install -r requirements.txt

```
# show help information
./dist/guardian
cd ./dist/guardian_1.1.0/
./bin/guardian checkout config.json.template
```
9 changes: 1 addition & 8 deletions package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,12 @@ if [ $? != 0 ];then
exit -1
fi

pyinstaller --onefile alert.py
if [ $? != 0 ];then
echo "[ERROR] failed to build $APP_NAME module: alert"
exit -1
fi

cd dist
mkdir -p $PACKAGE_DIR/bin
mkdir -p $PACKAGE_DIR/logs
cp $APP_NAME $PACKAGE_DIR/bin
cp alert $PACKAGE_DIR/bin

mkdir -p $PACKAGE_DIR/config
cp ../config.json.template $PACKAGE_DIR/config

tar zcvf $PACKAGE_DIR.tar.gz $PACKAGE_DIR
tar zcvf $PACKAGE_DIR.tar.gz $PACKAGE_DIR

0 comments on commit 3caa461

Please sign in to comment.