Skip to content

experimental installer for getting apps running quickly on DigitalOcean

License

Notifications You must be signed in to change notification settings

viveksikri/do-install-button

 
 

Repository files navigation

DO Install Button

Install on DigitalOcean

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

Install Page

Status Page

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

Copyright 2014 Tim Morgan. See LICENSE file in this directory.

About

experimental installer for getting apps running quickly on DigitalOcean

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 59.1%
  • Ruby 40.9%