TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How to deploy to a customer that doesn't have access to your repo?

3 pointsby blooberrabout 10 years ago
I need to support multiple deployments to various customers. Their servers could be on anything.<p>I can access them, but I don&#x27;t want them to be able to directly checkout code from my Github repo.<p>The only tool I&#x27;m familiar with is Capistrano, and as far as I know, requires access on the production machine to the source control repository. That&#x27;s not what I want in this situation... Any ideas or suggestions?

5 comments

pjungwirabout 10 years ago
It sounds like Capistrano&#x27;s `deploy_via` option is what you&#x27;re looking for:<p><a href="http://bu.chsta.be/blog/2013-02-24/capistrano-deployment-strategies-deploy-via-a-copy/" rel="nofollow">http:&#x2F;&#x2F;bu.chsta.be&#x2F;blog&#x2F;2013-02-24&#x2F;capistrano-deployment-str...</a>
yen223about 10 years ago
If you use ssh for your deployments, look up &quot;ssh agent forwarding&quot;. It allows you to temporarily use credentials from your own local machine to perform remote operations.
Someone1234about 10 years ago
Take a stable version, put it into a zip, put that onto a HTTPS server, and then give them a deployment script which downloads via wget and unpacks it.<p>Amazon&#x27;s S3 will host the zip file for pennies.
fideloperabout 10 years ago
No matter what you&#x27;ll have code on their servers. Some languages have obfuscation&#x2F;encryption you can use.<p>Overall from a tech perspective, I&#x27;d suggest building the app into containers (docker), so the computer they use at least becomes less important. Not sure what that means for users of Windows.<p>(Docker won&#x27;t protect against code theft but is a nice abstraction so the host OS matters less)
评论 #9146445 未加载
brianjkingabout 10 years ago
Ftploy.com?