# VisualDL ### How to use #### Step 1: build frontend ```shell cd frontend npm install npm run build ``` this step will generate a dist directory under frontend ### Step 2: copy frontend/dist to server/visualdl/frontend/dist ```shell mkdir -p server/visualdl/frontend/dist cp -r frontend/dist server/visualdl/frontend/dist ``` #### Step 3: build and install Python package ```shell cd server/ python setup.py bdist_wheel cd dist sudo pip install --upgrade visualdl-0.0.1-py2-none-any.whl ``` ### Step 3: run ``` # cd to visualdl install dir cd /usr/local/lib/python2.7/site-packages/visualdl/ python visual_dl.py --port=8888 ```