Skip to content
On this page

Heroku 部署

项目文件结构

js
└─static  // 存放静态文件
    ├─css
    ├─fonts
    ├─img
    │  └─icons
    └─js
└─index.py  // 项目启动文件
└─Procfile  // Heroku启动文件
└─requirements.txt //项目依赖库
└─scf_bootstrap  // 腾讯云部署启动文件
└─docker-compose.yml  // Docker启动文件
└─Dockerfile  // docker相关配置
└─gun.conf  // 保障程序运行

方式一

  1. 如果 您还没有 Heroku 帐户,可前往 Heroku 注册一个免费帐户。
  2. 注册邮箱建议使用谷歌邮箱(qq,163无法注册)
  3. 创建新的 Heroku App
  4. 拉取代码部署(或者直接fork本仓库)
js
git clone -b build https://github.com/Rr210/blazeB2.git
  • fork无需拉取上传
  • 将代码创建并保存到自己的github仓库
  1. 开始部署
  • 选择github方式部署,绑定自己的仓库

  • 选择下面手动部署 选择分支build 如果是fork项目,根据情况选择

方式二

Released under the Apache License 2.0.