Skip to content

httprunner/FasterWeb

Repository files navigation

FasterWeb

LICENSE

FasterWeb that depends FasterRunner

本地开发环境部署

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

测试

  1. open url(recommend chrome): http://localhost:8080/fastrunner/register

Docker 部署 nginx模式


  1. 修改default.conf配置文件 server_name的ip(宿主机IP), 端口默认8080
  2. 修改/src/restful/api.js baseUrl地址, 即为fastrunner容器运行的宿主机地址
  3. 执行npm install, npm run build # 生成生产环境包
  4. docker build -t fasterweb:latest . # 构建docker镜像
  5. docker run -d --name fasterweb --net=host --restart always fasterweb:latest # 后台运行docker容器
  6. open url: http://宿主机ip:8080/fastrunner/register

About

FasterWeb that depends FasterRunner

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published