Giter Club home page Giter Club logo

my_bot_web's Introduction

chat_log_web

本地调测

推荐 node 版本v22.1.0 npm 版本v10.7.0

# 安装依赖
npm install
# 运行
npm run serve
# 构建
npm run build

自动部署

  1. fork 本项目
  2. 在自己的项目中依次进入 Settings - Secrets - action - New repository secrets
  3. 在自己的服务器中安装unzip
  4. 增加如下变量
    host  # 目标服务器ip或域名, 例如: 10.10.10.10
    username  # 目标服务器用户名, 例如: root
    password  # 目标服务器密码, 例如: wobugaosuni
    port  # 目标服务器端口, 例如: 22
    remote_path  # 上传的位置, 例如: /home/ubuntu/web/
    end_cmd  # 上传成功后需要执行的命令, 例如: sed -i 's#http://127.0.0.1:8899#https://ermaozi.cn#' ~/web/static/config.js; sudo nginx -s reload
  5. 目前还适配了七牛云的自动部署, 如果要用的话上面的变量就可以不加了, 加下面这些
    PREFIXHOST  # 七牛cdn绑定的域名
    ACCESSKEY  # 七牛accessKey
    SECRETKEY  # 七牛secretKey
    SPACE  # 七牛空间名
    ZONE  # 空间对应的机房,zone_z1代表华北,其他配置参见七牛云文档

my_bot_web's People

Contributors

ermaozi avatar jun-1999 avatar ermaozi01 avatar dependabot[bot] avatar mhcms avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.