Code Monkey home page Code Monkey logo

pan's Introduction

cloud*reve,部署至railway.app

因为abuse, reilwaiy已经屏蔽cloud*reve关键字,凡是出现了直接不能部署
如有任何问题,欢迎提issue

功能特性

  • 每日检查cloud*reve更新,并自动更新
  • 本项目基于github action和railway cli

快速使用

  1. 注册一个railway.app账号
  2. 生成一个新项目,注意是空项目 image.png
  3. 生成一个token,注意是你新建的这个项目,详情https://docs.railway.app/deploy/integrations#project-tokens image.png
  4. 准备一个配置文件,详情https://docs.cloudreve.org/getting-started/config,下面给出最简单的配置
[System]
; 运行模式
Mode = master
; 监听端口
Listen = :80
Debug = false
; Session 密钥, 一般在首次启动时自动生成
SessionSecret = 123
; Hash 加盐, 一般在首次启动时自动生成
HashIDSalt = abc

如果直接这样,数据是不会保存的,最好的方式是使用mysql储存数据,达到数据持久化的效果 5. (可选)配置mysql,在railway的项目中添加一个mysql,mysql地址用户密码啥的可以到mysql详情中查看,然后把这个mysql配置写入配置文件中,另,可以使用自己的公网mysql,在这里推荐个免费mysqlhttps://planetscale.com image.png

  1. fork此项目

  2. 将配置文件和token导入到密钥,配置文件命名CONFIG,密钥命名RAILWAY_TOKEN image.png image.png

  3. 转到action界面的一个workflow,re-run jobs,即可部署至railway image.png

  4. 转到railway ,找到depoly log,即可获取用户密码 image.png

注意事项

  • 因为本项目每日都会更新部署,所有强烈建议用mysql保证数据持久化

pan's People

Contributors

lyj0309 avatar yuki-yzy 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.