Hacker News new | ask | show | jobs
by timmorgan 4250 days 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.

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...

1 comments

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 :(

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
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.

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
I think it is expected, the app you just installed is the 'Install Button'-App.