# lepv **Repository Path**: zhaowei1102/lepv ## Basic Information - **Project Name**: lepv - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-02-05 - **Last Updated**: 2024-02-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # LEP ## Preferred development environment - Windows/Mac OX/Linux, either works - IDE: Pycharm Community ## Technology Keywords - Git - Python 3.6 - Flask web framework - Docker - Javascript - Restful API - Web charts - Software Tools 1. Python 2. Docker install faster click [here](http://get.daocloud.io/) 3. Flask pip install Flask `(pip install maybe faster for append [ -i http://pypi.douban.com/simple ] or config /etc/pip.conf)` - Start 1. Run on VM ```bash $ git clone https://github.com/linuxep/lepv.git $ export PYTHONPATH=$PYTHONPATH:$PWD/lepv $ cd lepv/app $ pip install -r requirements.txt $ python run.py ``` 2. Run in Docker ```bash $ ./buildImage.sh (Outside Chinese mainland network: ./buildImage.sh us) $ ./runContainer.sh ``` 3. Open browser [127.0.0.1:8889](http://192.168.156.90:8889) ## 当你把LEPD和LEPV运行在同一台Linux主机的时候,在浏览器输入的监控地址不能是127.0.0.1或者localhost,而应该是Linux主机的IP地址。否则会出现"cannot reach the server"的错误。 ## Setup aliyun mirror and install docker Access https://cr.console.aliyun.com/#/accelerator and follow steps there ## Verify docker installation $ docker run hello-world