abudhu / sailboat

Sail into DigitalOcean

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

⛵ Sailboat

Sailboat automatically generates a map of a DigitalOcean environment, making it easier for individuals to re-create their environments. Further, Sailboat can create an Autoscaling groups for use in DigitalOcean loadbalancers.

Installation | Usage | Examples

Installation

Option 1: Download the Installer Bash Script and execute:

wget https://github.com/abudhu/sailboat/installer.sh
./installer.sh

Option 2: Build from Source

git clone https://github.com/abudhu/sailboat/ && cd sailboat
crystal build src/sailboat.cr --release

Note: You will need to add sailboat to your systems PATH

Usage

Getting Started | Commands | Configure | Map | Create | Delete | Fleet

Getting Started

After installing Sailboat you will need to configure a default profile. To do this run:

sailboat configure

You will be prompted with a Greeting. You will need to enter a DigitalOcean API Token.

⛵ Welcome aboard! Lets setup your default profile.
Digital Ocean Token: <DIGITAL_OCEAN_TOKEN>

Note: This will set the default Profile. To add named profiles, please see the Configure section for more details.

Commands

Configure Configures Sailboats default or named profiles. These profiles can be used with other commands to query different DigitalOcean accounts

Map Generates a JSON map of an existing DigitaOcean environment.

Create Creates a DigitalOcean environment based upon an existing Map.

Destroy Destroys a DigitalOcean environment based upon an existing Map.

Fleet Generate an Autoscaling Group for a Droplet and attach it to an existing Loadbalancer

Configure

Flags

Configure allows the following Flags:

Map

Create

Delete

Fleet

Contributing

  1. Fork it ( https://github.com/[your-github-name]/sailboat/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • [abudhu] Amit Budhu - creator, maintainer

About

Sail into DigitalOcean

License:GNU General Public License v3.0


Languages

Language:Crystal 100.0%