gohstd

command module
v0.0.0-...-38f047e Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2016 License: AGPL-3.0 Imports: 4 Imported by: 0

README

#gohstd

A web service for hosting your command history remotely, to be queried by all your machines via the gohst command-line client

Building from source

  1. Install Go for your platform
  2. Set the GOPATH environment variable
  3. Fetch gohstd Install it via go get like so: go get github.com/warreq/gohstd or git clone https://github.com/warreq/gohstd cd gohstd go build
  4. (Optional) Build the web application npm install npm run build

Installation

  1. Drop the gohstd binary somewhere on your PATH
  2. Set the environment variable DATABASE_URL to a postgres database connection string (format postgres://username:password@host:port/db-name)
  3. (Optional) Set the environment variable PORT to an available port. The default is 8080 when PORT is not provided.
  4. Execute gohstd!

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package common houses data structures and interfaces shared between gohstd and potential clients
Package common houses data structures and interfaces shared between gohstd and potential clients
Package service implements the gohstd web service, providing remote access to the command history supplied by gohst clients
Package service implements the gohstd web service, providing remote access to the command history supplied by gohst clients

Jump to

Keyboard shortcuts

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