dokku-daemon-go

command module
v0.1.2-0...-e6317da Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 27, 2017 License: MIT Imports: 13 Imported by: 0

README

dokku-daemon-go

Dokku Daemon written with Go to interact with Dokku

Requirements

A server running Ubuntu 14.04 or later with Dokku installed.

Installing

As a user with access to sudo

wget https://github.com/beydogan/dokku-daemon-go/releases/download/v0.1.1/dokku-daemon-go-linux64
chmod +x dokku-daemon-go-linux64
sudo ./dokku-daemon-go-linux64 install
sudo service dokku-daemon start

Usage

Daemon will create a UNIX socket at /var/run/dokku-daemon/dokku-daemon.sock owned by dokku user.

To test you can use;

sudo socat - UNIX-CONNECT:/var/run/dokku-daemon/dokku-daemon.sock

and type apps. It should return the output in JSON format.

{"status":"success","output":{"message":"=====\u003e My Apps\nhello\n"}}

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL