~tim/do-install-button

experimental installer for getting apps running quickly on DigitalOcean https://installer.71m.us
Update Sinatra gem
Fix a bunch of stuff
Start work on getting up-to-date regions and sizes

refs

master
browse log
v1.1.0
release notes

clone

read-only
https://git.sr.ht/~tim/do-install-button
read/write
git@git.sr.ht:~tim/do-install-button

You can also use your local clone with git send-email.

DO Install Button

This is an experimental installer for getting apps running quickly on DigitalOcean.

This tool is written by DO fans, and is not affiliated with DigitalOcean Inc.

Make your app installable with this tool

First, a few of words of warning:

  • This is very experimental. I've literally only tested this with one config file for one app.
  • I think this only works with Ubuntu, but may also work with Debian.

Add a file named app.yml to the root of your project on GitHub, like so:

name: OneBody
image: ubuntu-14-04-x64
min_size: 1gb
config:
  #cloud-config
  users:
    - name: onebody
      groups: sudo
      shell: /bin/bash
      sudo: ['ALL=(ALL) NOPASSWD:ALL']
  packages:
    - git
  runcmd:
    - cd /home/onebody && git clone git://github.com/churchio/onebody.git && cd onebody && bash build/ubuntu/14.04/provision.sh

Then add markup like the following to your README.md file:

[![Install on DigitalOcean](http://installer.71m.us/button.svg)](http://installer.71m.us/install?url=https://github.com/churchio/onebody)

Run this tool yourself

git clone git@github.com:seven1m/do-install-button.git
cd do-install-button
cp config.yml{.example,}
# edit config.yml appropriately
bundle
rackup

Copyright (c) Tim Morgan. See LICENSE file in this directory.