Skip to content

ONLYOFFICE-QA/onlyoffice_digitalocean_wrapper

Repository files navigation

OnlyofficeDigitaloceanWrapper

Gem for working with DigitalOcean API

Installation

Add this line to your application's Gemfile:

gem 'onlyoffice_digitalocean_wrapper'

And then execute:

bundle

Or install it yourself as:

gem install onlyoffice_digitalocean_wrapper

Configure

You should get access token via visiting this url
Access token can be initialized in two ways:

  1. Save to ~/.do/access_token

    mkdir ~/.do
    echo 'token' > ~/.do/access_token
  2. Set to DO_ACCESS_TOKEN env. Can be setup via ~/.bashrc

    echo "export DO_ACCESS_TOKEN='token'" >> ~/.bashrc