Skip to content

Commit

Permalink
Update version number (#168)
Browse files Browse the repository at this point in the history
* update version-number
* update build and install doc
* add visit address
  • Loading branch information
jacquesqiao authored Jan 16, 2018
1 parent a82c685 commit 4f41b19
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,19 +125,27 @@ Board also supports the parameters below for remote access:
- `--port` set port
- `--model_pb` specify ONNX format for model file
### How to install from pypi
```
pip install --upgrade visualdl
```
### How to install
### How to build and install locally
```
git clone https://github.com/PaddlePaddle/VisualDL.git
cd VisualDL

python setup.py bdist_wheel
pip install --upgrade dist/visualdl-*.whl
```
### Run a demo from scratch
```
vdl_scratch.py
visualDL --logdir=scratch_log
visualDL --logdir=scratch_log --port=8080
```
that will start a server locally.
that will start a server locally on port 8080, then
you can visit http://127.0.0.1:8080 the see the visualdl board.
### Contribute
Expand Down
2 changes: 1 addition & 1 deletion VERSION_NUMBER
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.1
0.0.1-alpha
5 changes: 3 additions & 2 deletions tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ readonly TOP_DIR=$(pwd)
readonly core_path=$TOP_DIR/build/visualdl/logic
readonly python_path=$TOP_DIR/visualdl/python
readonly max_file_size=1000000 # 1MB
readonly version_number=`cat VERSION_NUMBER`
# version number follow the rule of https://semver.org/
readonly version_number=`cat VERSION_NUMBER | sed 's/\([0-9]*.[0-9]*.[0-9]*\).*/\1/g'`

sudo="sudo"

Expand Down Expand Up @@ -42,7 +43,7 @@ package() {

cd $TOP_DIR
python setup.py bdist_wheel
$sudo pip install dist/visualdl-${version_number}-*.whl
$sudo pip install dist/visualdl-${version_number}*.whl
}

backend_test() {
Expand Down

0 comments on commit 4f41b19

Please sign in to comment.