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.

Show HN: “Install on DigitalOcean” button for open source apps

279 pointsby timmorganover 10 years ago

17 comments

timmorganover 10 years ago
Hey everybody. I built this small Sinatra app because I wanted a simpler way for people to install my software OneBody[1] on DigitalOcean.<p>I&#x27;m not sure my little VPS will hold up under the strain of HN, but you can see the app in action at <a href="http://installer.71m.us" rel="nofollow">http:&#x2F;&#x2F;installer.71m.us</a> and even use it to install itself (how meta!) on DigitalOcean.<p>This uses the new MetaData[2] feature of the DO API to pass a config string to be processed by CloudConfig[3].<p>Once that is done, there is a small bit of code running on the VM to tell this app when the install is finished so you get a progress bar while you&#x27;re waiting.<p>To be clear, DigitalOcean is doing all the real work -- this app simply acts as a hand-off between your app.yml config file on GitHub and the DigitalOcean API.<p>[1] <a href="https://github.com/churchio/onebody" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;churchio&#x2F;onebody</a><p>[2] <a href="https://www.digitalocean.com/community/tutorials/an-introduction-to-droplet-metadata" rel="nofollow">https:&#x2F;&#x2F;www.digitalocean.com&#x2F;community&#x2F;tutorials&#x2F;an-introduc...</a><p>[3] <a href="https://www.digitalocean.com/community/tutorials/an-introduction-to-cloud-config-scripting" rel="nofollow">https:&#x2F;&#x2F;www.digitalocean.com&#x2F;community&#x2F;tutorials&#x2F;an-introduc...</a>
评论 #8543635 未加载
andrewsomethingover 10 years ago
Love it! This is the exact type of thing that we hoped would come from providing the MetaData service.<p>Please submit it to our projects page so we can highlight it:<p><a href="https://www.digitalocean.com/community/projects" rel="nofollow">https:&#x2F;&#x2F;www.digitalocean.com&#x2F;community&#x2F;projects</a>
swansonover 10 years ago
I&#x27;d be interested in adding this button once it gets offical support from DigitalOcean.<p>I added the Heroku Button[1] to a self-hosted OS app I wrote[2] and it seems to be useful (over 100 &quot;recent deploys&quot; per Heroku). It would be great if there was some affiliate commission as well - if someone signs up for a VPS to run an app, would be awesome to get a small kickback from DigitalOcean.<p>[1]: <a href="https://buttons.heroku.com/" rel="nofollow">https:&#x2F;&#x2F;buttons.heroku.com&#x2F;</a><p>[2]: <a href="https://github.com/swanson/stringer" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;swanson&#x2F;stringer</a>
评论 #8538988 未加载
评论 #8539003 未加载
gohrtover 10 years ago
<i>Something Something</i> WebIntents.<p>Why is &quot;DigitalOcean&quot; a choice made by the app, instead of by the user? Can there be a standard for this sort of installation metadata?
评论 #8540109 未加载
评论 #8543304 未加载
diminotenover 10 years ago
How are you planning on handling support for this going forward?<p>I have no specific need, I&#x27;m just always curious about how folks transition from, &quot;I have a neat idea&quot; to &quot;I want my neat idea to work for most people&quot;.
doczoidbergover 10 years ago
same button for azure: <a href="http://www.bradygaster.com/post/the-deploy-to-azure-button" rel="nofollow">http:&#x2F;&#x2F;www.bradygaster.com&#x2F;post&#x2F;the-deploy-to-azure-button</a>
评论 #8540149 未加载
评论 #8542961 未加载
评论 #8539648 未加载
level09over 10 years ago
I have written something similar, it deploys Enferno (enferno.io) a flask based app on ubuntu (not necessarily digital ocean)<p>it&#x27;s an ansible playbook that configures the server and installs all requirements, and sets up nginx, python for you.<p>whoever is interested, here is the source code:<p><a href="https://github.com/level09/enferno-ansible" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;level09&#x2F;enferno-ansible</a>
hunvreusover 10 years ago
Very neat. We did something very similar with the devo.ps button, allowing you to define configurable settings: <a href="http://devo.ps/blog/deploy-your-meteor-apps-on-digital-ocean-in-5-minutes/" rel="nofollow">http:&#x2F;&#x2F;devo.ps&#x2F;blog&#x2F;deploy-your-meteor-apps-on-digital-ocean...</a><p>We have yet to properly document the feature, but we&#x27;ve used it in a few places already.
thisismitchover 10 years ago
Great use of OAuth, API, and user data!
bhhaskinover 10 years ago
I like the idea, but runcmd could be dangerous as well as setting sudo permissions.
评论 #8539488 未加载
评论 #8538935 未加载
mbertrandover 10 years ago
This is very cool, nice work!
acron0over 10 years ago
Will definitely use :)
phalgun_gover 10 years ago
This is quite cool.
Blaine0002over 10 years ago
This is pretty exactly what I use fabfiles for.
zwischenzugover 10 years ago
Why not just use docker for this? Then you can install anywhere that has docker.
评论 #8539474 未加载
评论 #8539568 未加载
alex_changover 10 years ago
I&#x27;d definitely fund a company based around this.
评论 #8540270 未加载
nodataover 10 years ago
Does this kind of go against the spirit of open source?
评论 #8539486 未加载
评论 #8539453 未加载
评论 #8539702 未加载
评论 #8539454 未加载