GithubHelp home page GithubHelp logo

newday-life / javtube-server-heroku Goto Github PK

View Code? Open in Web Editor NEW

This project forked from metatube-community/metatube-server-heroku

0.0 0.0 0.0 5.95 MB

Deploy JavTube Server to Heroku.

License: MIT License

Dockerfile 100.00%

javtube-server-heroku's Introduction

JavTube Server Heroku

‼️置顶

Heroku Update

Starting November 28th, 2022, free Heroku Dynos, free Heroku Postgres, and free Heroku Data for Redis® will no longer be available. If you have apps using any of these resources, you must upgrade to paid plans by this date to ensure your apps continue to run and to retain your data. For students, we will announce a new program by the end of September.

Heroku不再免费,请使用Docker部署后端,或使用Koyeb快速部署

项目介绍

  • 部分新建的应用有可能需要科学访问,如果需要可以套一层Cloudflare CDN或Workers。
  • Heroku对免费账号存在如内存、冷启动等限制,但是对于个人部署使用JavTube后端项目理论上是足够的,具体可以参考Pricing

使用本仓库可以快速将JavTube后端免费部署至Heroku云平台。

一键部署

Deploy Deploy

具体说明

以下步骤需要登录Heroku账号,没有账号的可以先进行注册

部署应用

deploy

  • App name中输入自定义的应用名。
  • 建议将地区选择为United States
  • Config Vars中输入新的TOKEN复制
  • 点击Deploy app完成部署。

create

  • 右键复制View中的JavTube Server URL链接地址。

view

  • 可以点击View,出现类似如下的页面即为部署成功。

page

  • 在JavTube插件中分别粘贴进之前复制的JavTube Server URLTOKEN以完成插件配置。

plugin

更新应用

本节仅当有更新需求时参考。

  • 点击本仓库右上方的Fork按钮。

fork

  • 点击Create fork

create-fork

  • 如果之前已经Fork过本仓库,则选择Fetch upstream -> Fetch and merge否则跳过此步骤

建议每次在更新后端之前,都尝试Fetch and merge以与源仓库保持同步。

fetch-merge

dashboard

  • 在Dashboard中,选择Deploy

overview-deploy

  • Deploy中,选择GitHub并点击Connect to GitHub

deploy-github

  • 在弹出的页面中,点击Authorize Heroku

auth-heroku

  • 按如下步骤连接之前Fork的仓库。

connect-repo

  • 点击Deploy Branch,即可完成更新。

后续更新后端也只需要点击Deploy Branch即可。

deploy-branch

  • 如下图所示,即表示已完成更新。

deployed

PS:当然也可以直接通过删除重新创建应用来进行更新,但是注意app nametoken需要和之前保持一致。

删除应用

⚠本节会删除之前部署的应用导致后续刮削请求失败。除非有明确需求(例如重新部署应用),否则请略过。

dashboard

  • 点击设置Settings

overview-settings

  • 拉到设置最底部,点击Delete app

settings

  • 按提示,重新输入一遍应用名以删除应用。

delete

javtube-server-heroku's People

Contributors

xjasonlyu avatar newday-life 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.