forked from PaddlePaddle/VisualDL
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request PaddlePaddle#38 from jacquesqiao/server-static-files
Server with frontend files
- Loading branch information
Showing
2 changed files
with
41 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,22 @@ | ||
# VisualDL | ||
# VisualDL | ||
|
||
|
||
### How to use | ||
#### Step 1: build and install Python package | ||
```shell | ||
python setup.py bdist_wheel | ||
cd dist | ||
pip install visualdl-0.0.1-py2-none-any.whl | ||
``` | ||
|
||
#### Step 2: build frontend | ||
```shell | ||
cd visualdl/frontend | ||
npm install | ||
npm run build | ||
``` | ||
|
||
### Step 3: run | ||
``` | ||
python bin/visual_dl.py --port=8888 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters