Skip to content

Commit

Permalink
Add install by sources section and a link to dev server (#412)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickyfantasy authored Apr 19, 2018
1 parent 5d8cb7f commit 9ddbed9
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ pip install --upgrade visualdl
# run a demo, vdl_create_scratch_log will create logs for testing.
vdl_create_scratch_log
visualdl --logdir=scratch_log --port=8080
visualDL --logdir=scratch_log --port=8080
# visit http://127.0.0.1:8080
```
Expand Down Expand Up @@ -146,11 +146,27 @@ pip install --upgrade visualdl
# run a demo, vdl_create_scratch_log will create logs for testing.
vdl_create_scratch_log
visualdl --logdir=scratch_log --port=8080
visualDL --logdir=scratch_log --port=8080
# visit http://127.0.0.1:8080
```

If you still have issues installing VisualDL, try installing from sources as in following section.


### Install from source
```
#Preferably under a virtualenv or anaconda.
git clone https://github.com/PaddlePaddle/VisualDL.git
cd VisualDL
python setup.py bdist_wheel
pip install --upgrade dist/visualdl-*.whl
```

If there are still issues regarding the ```pip install```, you can still start Visual DL by starting the dev server
[here](https://github.com/PaddlePaddle/VisualDL/blob/develop/docs/how_to_dev_frontend_en.md)


## SDK
VisualDL provides both Python SDK and C++ SDK in order to fit more use cases.
Expand Down Expand Up @@ -211,10 +227,10 @@ After some logs have been generated during training, users can launch Visual DL
```
visualdl --logdir <some log dir>
visualDL --logdir <some log dir>
```
visualdl also supports following optional parameters:
visualDL also supports following optional parameters:
- `--host` set IP
- `--port` set port
Expand Down

0 comments on commit 9ddbed9

Please sign in to comment.