首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • Railway:应用部署平台入门教程

    Railway 作为一个现代化的应用部署平台,正是为解决这些痛点而生!什么是 RailwayRailway 是一个现代化的应用部署平台,它提供了一种简单、高效的方式来部署你的应用程序。 使用 Railway,你只需几步操作,就能将应用从本地环境迁移到生产环境!(超级简单!)为什么选择 Railway?在众多部署平台中,Railway 有什么特别之处呢? 自从发现了 Railway,这些问题都迎刃而解了!入门:第一个 Railway 项目好了,理论知识已经够多了,让我们动手实践吧!下面我将带你一步步创建并部署第一个 Railway 项目。 准备工作在开始之前,你需要:一个 GitHub 账号一个 Railway 账号(可以直接使用 GitHub 账号登录)一个想要部署的项目(如果没有,Railway 也提供了模板)步骤 1:注册 Railway 授权 Railway 访问你的 GitHub 账号后,你就可以开始使用 Railway 了。步骤 2:创建新项目登录后,你会看到 Railway 的控制台。

    98510编辑于 2025-10-02
  • 来自专栏Wlog

    如何使用railway+vercel搭建typecho

    如何使用railway+vercel搭建typecho 本文章首发于typecho分站 https://tc.w03.cc 准备工作(必须) 注册一个Vercel账号 准备好关于GitHub和git相关的东西 (非必须 如果你是带佬可以直接vercel即vc) 注册一个railway账号 (非必须 如果你有服务器 可以用服务器 但是都有服务器还为啥用这个) https://wfile.wmza.cn/wpan php-vercel-main.zip 下载这个 并且解压 最后应该是这样子的 碎碎念(可跳过) 本文章都是本人亲测可用的 可登录后台 本人发现Lete大佬的教程进不去后台 这个你甚至可以用手机软件南博进行更新 太好用了吧 每月railway Github创建一个仓库 设置为private 我在这里用code Studio进行(不是打广告 他们家缺点挺多的) 爬取仓库下来 之后把压缩包放上去 在根目录放上这些文件 第二步 首先确保你已经有了railway

    1.9K20编辑于 2022-04-20
  • 来自专栏运维开发故事

    利用Github和Railway搭建专属的ChatGPT

    这里我们直接用国外的部署网站,目前比较著名的有: fly.io render.com railway.app vercel.com 我们选取 raliway.app 来进行我们的部署工作,访问:https ://railway.app/,点击 Login,选择 Github 登录,并进行相关授权: Untitled 8.png 创建项目 点击New Project。 image.png 然后 Railway 会自动更新。 关于 Railway Railway 提供 5 美元,500 个小时/月的额度,用完了要么充钱,要么死亡,可以根据实际情况来选择,个人使用其实是足够了,无外乎多搞几个账号。

    1K20编辑于 2023-05-01
  • 来自专栏饶文津的专栏

    【CodeForces 605A】BUPT 2015 newbie practice #2 div2-E - Sorting Railway Cars

    cid=102419#problem/E Description An infinitely long railway has a train consisting of n cars, numbered David Blaine wants to sort the railway cars in the order of increasing numbers. Output Print a single integer — the minimum number of actions needed to sort the railway cars.

    61110发布于 2020-05-31
  • 来自专栏程序编程之旅

    HDOJ/HDU 1022 Train Problem I(模拟栈)

    But here comes a problem, there is only one railway where all the trains stop. For this problem, if train A gets into the railway first, and then train B gets into the railway before , and “out” for a train getting out of the railway). So now train 3 is at the top of the railway, so train 3 can leave first, then train 2 and train 1. But after that we can’t let train 1 leave before train 2, because train 2 is at the top of the railway

    43210发布于 2021-01-21
  • 来自专栏yiyun 的专栏

    免费静态托管 | 笔记

    / https://www.heroku.com/ railway 支持 Docker 自制 Railway Button https://railway.app/button heroku 支持 Docker /railway-entrypoint.sh"] 仓库根目录/railway-entrypoint.sh #! /main/deploy/railway Dockerfile # Railway Dockerfile # 注意: yiyungent/dragonfly:latest railway 会一直使用缓存 /railway-entrypoint.sh RUN chmod +x ./railway-entrypoint.sh ADD railway-PluginCore.Config.json . /railway-entrypoint.sh"] railway-entrypoint.sh #!

    6.3K21编辑于 2022-04-01
  • 来自专栏林德熙的博客

    C# 枚举转字符串 枚举转字符串字符串转枚举

    enum Di { ///

    /// 轨道 /// Railway River, } static void Main(string[] args) { Console.WriteLine(Di.Railway.ToString ()); } 这样就可以把枚举转字符串 除了这个方法,可以使用 C# 6.0 的关键字,请看代码 Console.WriteLine(nameof(Di.Railway enum Di { /// /// 轨道 /// Railway River, } static void Main(string[] args) { string str = Di.Railway.ToString

    4.8K10发布于 2018-09-18
  • 来自专栏饶文津的专栏

    【CodeForces 602C】H - Approximating a Constant Range(dijk)

    different towns x and y, there is a bidirectional road between towns x and yif and only if there is no railway Travelling to a different town using one railway or one road always takes exactly one hour. You've been asked to plan out routes for the vehicles; each route can use any road/railway multiple times Each of the next m lines contains two integers u and v, denoting a railway between towns u and v (1 ≤ You may assume that there is at most one railway connecting any two towns.

    56910发布于 2020-05-31
  • 来自专栏ml

    HDUOJ-------(1022)Train Problem I

    But here comes a problem, there is only one railway where all the trains stop. For this problem, if train A gets into the railway first, and then train B gets into the railway before , and "out" for a train getting out of the railway). So now train 3 is at the top of the railway, so train 3 can leave first, then train 2 and train 1. But after that we can't let train 1 leave before train 2, because train 2 is at the top of the railway

    75170发布于 2018-03-21
  • 【杭电oj】1022 - Train Problem I(栈)

    But here comes a problem, there is only one railway where all the trains stop. For this problem, if train A gets into the railway first, and then train B gets into the railway before , and "out" for a train getting out of the railway). So now train 3 is at the top of the railway, so train 3 can leave first, then train 2 and train 1. But after that we can't let train 1 leave before train 2, because train 2 is at the top of the railway

    27210编辑于 2025-08-26
  • 来自专栏运维

    零成本搭建个人 APP 和小程序后台

    我开始是想用云文档,种种原因,我还是希望有个自己能二次修改的后台,于是就选择了 Vercel+Railway 方式。 Railway:  同样略过详细介绍,暂且把他理解成云数据库,几乎免费,需要注册登陆。GitHub:   先创建存放程序的仓库,也几乎完全免费,需要注册登陆。 Railway 配置进入 Railway 官网,同样推荐 GitHub 账号登陆,进来后选择 “MySQL” 类型,直接按默认后进入到 production,最主要的是我们需要分配给他的 Host,账号和密码 需要注意的是 Railway 每个月只有 5 刀的限额,需要提前备份数据库。超过限额后没有备份的数据就没了,需要删掉账户重新注册才可以。 提交并成功部署后,输入自定义域名,并带上 install.php 进行安装,然后用 pdo 方式安装数据库,上面的 railway 参数就再输入一遍。

    74310编辑于 2024-08-22
  • 来自专栏ECS服务器

    欢迎使用 wechat-chatgpt

     在微信中使用 ChatGPT 支持多轮对话 支持命令设置 部署和配置选项: 提供 Dockerfile,可以通过 docker 进行部署 支持使用 docker compose 进行部署 支持在 Railway  和 Fly.io 上部署 其他功能: 支持 Dall·E 支持 whisper 支持设置 prompt 支持代理(开发中)  使用 在 Railway 部署(PaaS, 免费, 稳定, 推荐) Fly.io 部署(PaaS, 免费, 推荐) 使用 Docker 部署(自托管, 稳定, 推荐) 使用 Docker Compose 部署(自托管, 稳定, 推荐) 使用 NodeJS 部署 使用Railway 进行部署 Railway 是一个免费的 PaaS 平台,5刀以内的账单免费或者每个月500小时的运行时间 点击 Railway 按钮,进入 Railway 部署页面 点击 Deploy Now 按钮,进入 Railway 部署页面 填写 仓库名称和 OPENAI_API_KEY(需要连接 GitHub 账号) 点击 Deploy 按钮 点击 View Logs 按钮,等待部署完成 通过Fly.io进行部署

    2.3K50编辑于 2023-05-18
  • 来自专栏ACM算法日常

    最短路专题1 | CodeForces 601A - 混合Dijkstra算法

    Travelling to a different town using one railway or one road always takes exactly one hour. You've been asked to plan out routes for the vehicles; each route can use any road/railway multiple times One of the most important aspects to consider is safety — in order to avoid accidents at railway crossings Each of the next m lines contains two integers u and v, denoting a railway between towns u and v (1 ≤ 下面的 m 行表示路线 You may assume that there is at most one railway connecting any two towns.

    58620发布于 2019-10-09
  • 来自专栏测试开发囤货

    体验微软 Bing AI 所有功能,无需登录即可畅聊!

    需登录,并选择 更有创造力 对话模式 手机端未登录状态 侧边栏 在 Edge 浏览器可把聊天和撰写分别添加侧边栏 演示站点 甲骨文小鸡仔,轻虐 https://bing.vcanbb.top Railway 搭建 https://bing-railway.vcanbb.top https://go-proxy-bingai-production.up.railway.app Vercel 搭建 https Railway 主要配置 Dockerfile 路径 及 端口就可以 PORT=8080 RAILWAY_DOCKERFILE_PATH=docker/Dockerfile 一键部署,点这里 => 「 tps://railway.app/template/uIckWS? referralCode=BBs747」 自行使用 Railway 部署配置如下 Vercel ⭐ Vercel 部署不支持 Websocket ,需选择 官方聊天服务器 或 Cloudflare

    5.5K61编辑于 2023-08-08
  • 来自专栏跟牛老师一起学WEBGIS

    基于Martin的全国基础底图实现

    "line-width": 1, }, }, // 铁路 { id: "theme_railway ", type: "line", source: "theme_railway", "source-layer": "theme_railway ", type: "line", source: "theme_railway", "source-layer": "theme_railway "line-width": 1.5, }, }, // 铁路间隔 { id: "theme_railway_interval ", type: "line", source: "theme_railway", "source-layer": "theme_railway

    28700编辑于 2025-05-31
  • 来自专栏ThoughtWorks

    条件型业务规则的抽象与实现——从Spring Profile得到的灵感

    Override public void verify(PlaceOrderCommand command) { if (command.getProduct().isTypeOf(RAILWAY @Override public void verify(PlaceOrderCommand command) { if (command.getProduct().isTypeOf(RAILWAY # railway placeOrderRule.RAILWAY.deliverableAddressRequired=true placeOrderRule.RAILWAY.anotherConstraint1 =false placeOrderRule.RAILWAY.anotherConstraint2=false # sightseeing placeOrderRule.SIGHTSEEING.deliverableAddressRequired

    43510发布于 2020-04-07
  • 2025年Web应用托管平台选择指南:从小白到大神都能找到合适的家

    Railway - 新兴的黑马 官网地址:https://railway.com/ image-20251117222307278 Railway这个平台我是最近才开始关注的,用下来感觉确实不错。 前几天用Railway部署了一个Node.js + PostgreSQL的项目,从代码提交到上线只用了几分钟,体验确实不错。 带数据库的全栈应用,Railway、Render比较合适,配置简单,价格也不贵。 大型企业应用就得上AWS、GCP、Azure这些云巨头了,功能全面,可扩展性强。 小成本的话,DigitalOcean App Platform、Render、Railway价格都比较实惠。 大项目的话,云巨头们虽然贵,但是功能强大,而且可以根据使用量灵活调整成本。 全栈应用推荐Railway或Render。这两个平台在易用性、功能和价格之间找到了很好的平衡点,新手也能快速上手。 企业项目考虑云巨头。

    1.1K10编辑于 2025-11-20
  • 来自专栏Python七号

    推荐 10 个 Heroku 的替代品

    6、Railway (多语言支持) 如果需要开箱即用地支持 Node.JS、Django、Laravel、Kotlin、Spring、Ruby,Railway[6]就是你的解决方案。 https://www.deta.sh/ [4] Firebase: https://firebase.google.com/ [5] Render: https://render.com/ [6] Railway : https://railway.app/ [7] Fly.io: https://fly.io/ [8] Fleek.co: https://fleek.co/ [9] Qoddi.com: https

    6.8K21编辑于 2023-01-03
  • 来自专栏鱼皮客栈

    谁会拒绝一个免费的部署服务呢?

    这个平台就是 Railway,和之前给大家分享过的 Vercel 平台有点像,不过 Vercel 一般是用于部署前端网页的,而 Railway 部署的是容器,你可以在容器里放网站、后端程序、定时任务、数据库等等 指路:https://railway.app/ 这里以我刚刚开源的自动回复项目为例,给大家演示下怎么用这个平台一键部署项目。

    3.6K40编辑于 2023-03-29
  • 来自专栏csxiaoyao

    HDU 1023 高精度 卡特兰数

    the trains come in strict-increasing order, how many orders that all the trains can get out of the railway Output For each test case, you should output how many ways that all the trains can get out of the railway

    59920发布于 2019-02-18
领券