<story><title>Show HN: “Install on DigitalOcean” button for open source apps</title><url>https://github.com/seven1m/do-install-button</url></story><parent_chain></parent_chain><comment><author>timmorgan</author><text>Hey everybody. I built this small Sinatra app because I wanted a simpler way for people to install my software OneBody[1] on DigitalOcean.&lt;p&gt;I&amp;#x27;m not sure my little VPS will hold up under the strain of HN, but you can see the app in action at &lt;a href=&quot;http://installer.71m.us&quot; rel=&quot;nofollow&quot;&gt;http:&amp;#x2F;&amp;#x2F;installer.71m.us&lt;/a&gt; and even use it to install itself (how meta!) on DigitalOcean.&lt;p&gt;This uses the new MetaData[2] feature of the DO API to pass a config string to be processed by CloudConfig[3].&lt;p&gt;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&amp;#x27;re waiting.&lt;p&gt;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.&lt;p&gt;[1] &lt;a href=&quot;https://github.com/churchio/onebody&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;churchio&amp;#x2F;onebody&lt;/a&gt;&lt;p&gt;[2] &lt;a href=&quot;https://www.digitalocean.com/community/tutorials/an-introduction-to-droplet-metadata&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;www.digitalocean.com&amp;#x2F;community&amp;#x2F;tutorials&amp;#x2F;an-introduc...&lt;/a&gt;&lt;p&gt;[3] &lt;a href=&quot;https://www.digitalocean.com/community/tutorials/an-introduction-to-cloud-config-scripting&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;www.digitalocean.com&amp;#x2F;community&amp;#x2F;tutorials&amp;#x2F;an-introduc...&lt;/a&gt;</text></comment>
<story><title>Show HN: “Install on DigitalOcean” button for open source apps</title><url>https://github.com/seven1m/do-install-button</url></story><parent_chain></parent_chain><comment><author>swanson</author><text>I&amp;#x27;d be interested in adding this button once it gets offical support from DigitalOcean.&lt;p&gt;I added the Heroku Button[1] to a self-hosted OS app I wrote[2] and it seems to be useful (over 100 &amp;quot;recent deploys&amp;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.&lt;p&gt;[1]: &lt;a href=&quot;https://buttons.heroku.com/&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;buttons.heroku.com&amp;#x2F;&lt;/a&gt;&lt;p&gt;[2]: &lt;a href=&quot;https://github.com/swanson/stringer&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;swanson&amp;#x2F;stringer&lt;/a&gt;</text></comment>