Skip to content

Commit

Permalink
Add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Protsenko committed Oct 15, 2021
1 parent d25d3e2 commit 2628a47
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Digitalocean API shell
Console utility for working with DigitalOcean API

### Requirements
* PHP 7.4+
* [Composer](https://getcomposer.org)
* PHP [Curl](https://www.php.net/manual/book.curl.php) extension
* PHP [GMP](https://www.php.net/manual/book.gmp.php) extension
* PHP [JSON](https://www.php.net/manual/book.json.php) extension

### Installation
* Run `composer create-project grayfolk/digitalocean-api-shell`.
* Go to `digitalocean-api-shell` folder and edit `accounts.json`. This is a simple [JSON](https://www.json.org) file with `"username" : "API Key"` records. You can use whatever name is convenient for you (but it shoud be unique) and real DigitalOcean API key. You can obtain API key in your [DigitalOcean Account - API - Personal access tokens - Generate New Token](https://cloud.digitalocean.com/account/api/tokens/new).

### Running
Go to `digitalocean-api-shell` folder and run `./do`.

0 comments on commit 2628a47

Please sign in to comment.