- Windows/Mac OX/Linux, either works
- IDE: Pycharm Community
-
Git
-
Python 3.6
-
Flask web framework
-
Docker
-
Javascript
-
Restful API
-
Web charts
-
Software Tools
- Python
- Docker install faster click here
- Flask
pip install Flask(pip install maybe faster for append [ -i http://pypi.douban.com/simple ] or config /etc/pip.conf)
-
Start
- Run on VM
$ git clone https://github.com/linuxep/lepv.git $ export PYTHONPATH=$PYTHONPATH:$PWD/lepv $ cd lepv/app $ pip install -r requirements.txt $ python run.py
- Run in Docker
$ ./buildImage.sh (Outside Chinese mainland network: ./buildImage.sh us) $ ./runContainer.sh
- Open browser 127.0.0.1:8889
当你把LEPD和LEPV运行在同一台Linux主机的时候,在浏览器输入的监控地址不能是127.0.0.1或者localhost,而应该是Linux主机的IP地址。否则会出现"cannot reach the server"的错误。
Access https://cr.console.aliyun.com/#/accelerator and follow steps there
$ docker run hello-world