Skip to content

weirdohaibo/FasterWeb

 
 

Repository files navigation

FasterWeb

LICENSE

FasterWeb depend on FasterRunner

页面展示

Image text Image text Image text Image text Image text Image text Image text Image text Image text Image text Image text Image text Image text Image text Image text Image text Image text Image text Image text Image text Image text Image text Image text Image text Image text Image text Image text

Docker 部署nginx模式

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

本地开发环境部署

1. 修改FasterWeb/src/restful/api.js的baseUrl配置为FasterRunner启动的ip:port
2. npm install 安装依赖包
3. npm run dev 开发环境启动服务
4. open url: http://localhost:8080/fastrunner/login

其他注意点:

About

FasterWeb that depends FasterRunner

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 63.3%
  • CSS 29.3%
  • JavaScript 7.3%
  • Other 0.1%