• Docker部署安装FasterRunner详细教程


    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

    其他注意点:

    https://github.com/weirdohaibo/FasterRunner
    https://github.com/weirdohaibo/FasterWeb

  • 相关阅读:
    LeetCode 48 Anagrams
    大数据实时处理:百分点实时计算架构和算法
    Kafka操作
    Kafka
    批量扫描互联网无线路由设备telnet,并获取WIFI密码
    WMI
    openvas
    原始套接字
    Zabbix
    MySQL exist
  • 原文地址:https://www.cnblogs.com/tiechui2015/p/12190473.html
Copyright © 2020-2023  润新知