Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update version number #168

Merged
merged 7 commits into from
Jan 16, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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