Git Product home page Git Product logo

alist-heroku's Introduction

Alist on heroku

点击这里开始👉 Deploy

FAQ

  • 问:通过 Herok 部署的 Alist 默认管理密码是什么?

  • 答:alist

  • 问:如果让 Herok 应用保持存活状态?

  • 答:

方法一:通过 UptimeRobot 对应用地址进行状态监控,UptimeRobot 会对地址每 5 分钟请求一次使其产生访问流量,Herok 应用将一直保持活跃状态。

方法二:使用 curl 命令配合定时任务每10分钟获取一次 Alist 文件目录列表同样可以达到应用不睡眠效果,环境可以是你家里的路由器或其他有curl 命令的 linux。

curl -d '{"path":"/","password":"","page_num":1,"page_size":30}' \
    -H "Content-Type: application/json" \
    -X POST https://应用名称.herokuapp.com/api/public/path

使用免费 MySQL 远程数据库(推荐)

由于 Herok 免费账户无法永久保存应用数据,在没有使用正确的方法防止应用休眠情况下,Alist 会被重置。使用远程 MySQL 则可以解决这个问题。

注册免费 MySQL 远程数据库:https://www.db4free.net/

完成注册后,你的邮箱会收到MySQL 连接地址、端口、数据库名称、用户信息。

alist-heroku's People

Contributors

sbwml avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  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.