TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: What are best practices for deploying an app to a VPS?

1 点作者 breakerbox超过 5 年前
I am working on an MVP, which initially ran on Heroku to simplify things. However, I&#x27;m realizing I need to move to a provider that gives me control of the the server (likely AWS Lightsail since I&#x27;m already familiar).<p>What is the best practice for deploying applications to a VPS? I have found resources for git hooks, but those seem to focus on static websites. I would love to be able to run &quot;git push prod master&quot; and use git&#x2F;scripts to automate building and deployment.<p>Do you have any good resources or recommendations for doing this?

2 条评论

josegonzalez超过 5 年前
You can use Dokku to manage your server in a Heroku-like fashion.<p>(Note, I am the Dokku maintainer)<p><a href="https:&#x2F;&#x2F;github.com&#x2F;dokku&#x2F;dokku&#x2F;" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;dokku&#x2F;dokku&#x2F;</a>
评论 #21045097 未加载
drKarl超过 5 年前
I would say that depends on what technologies and&#x2F;or web servers you want to use
评论 #21045079 未加载