News for hackers. Stuff that matters.
Re:Show HN: “Install on DigitalOcean” button for open source... by timmorgan on Friday October 31, 2014 @10:15AM (#8538815)
Hey everybody. I built this small Sinatra app because I wanted a simpler way for people to install my software OneBody[1] on DigitalOcean.

I'm not sure my little VPS will hold up under the strain of HN, but you can see the app in action at http://installer.71m.us and even use it to install itself (how meta!) on DigitalOcean.

This uses the new MetaData[2] feature of the DO API to pass a config string to be processed by CloudConfig[3].

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're waiting.

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.

[1] https://github.com/churchio/onebody

[2] https://www.digitalocean.com/community/tutorials/an-introduc...

[3] https://www.digitalocean.com/community/tutorials/an-introduc...

Re:Show HN: “Install on DigitalOcean” button for open source... by jaequery on Saturday November 01, 2014 @12:36PM (#8543635)
Hi! So I clicked on Deploy to DO button, I now have a VM up and running.

But now what? I can't even SSH into it as I don't have the pw. I hit port 80 and all I get is the same "install it on DO page".

I thought it'd do a 1 click deployment, I'm stumped :(

Re:Show HN: “Install on DigitalOcean” button for open source... by timmorgan on Saturday November 01, 2014 @12:44PM (#8543677)
If you have an ssh key set up in your DigitalOcean account, then that is the key set up on the root account. If not, you should have received a password email from DigitalOcean -- use that.

    ssh root@the-ip
Re:Show HN: “Install on DigitalOcean” button for open source... by jaequery on Saturday November 01, 2014 @12:50PM (#8543700)
thanks i got in ssh.

but as for the app, I hit the IP and i just see the "DO Install Button" page. http://cl.ly/image/032E0s0S122I

is this expected?

thx for the awesome work btw, i am just so anxious to try it out, atleast for one of the church i know who could def use something like this.

Re:Show HN: “Install on DigitalOcean” button for open source... by timmorgan on Saturday November 01, 2014 @01:25PM (#8543823)
You might be more interested in installing our church app OneBody. You can do that by clicking the "Install on DigitalOcean" button in the readme here: https://github.com/churchio/onebody
Re:Show HN: “Install on DigitalOcean” button for open source... by adsche on Saturday November 01, 2014 @01:15PM (#8543781)
I think it is expected, the app you just installed is the 'Install Button'-App.