command
module
Version:
v0.0.0-...-38f047e
Opens a new window with list of versions in this module.
Published: Jan 31, 2016
License: AGPL-3.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
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
- Install Go for your platform
- Set the GOPATH environment variable
- 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
- (Optional) Build the web application
npm install
npm run build
Installation
- Drop the gohstd binary somewhere on your PATH
- Set the environment variable
DATABASE_URL
to a postgres database connection string (format postgres://username:password@host:port/db-name)
- (Optional) Set the environment variable
PORT
to an available port. The default is 8080 when PORT is not provided.
- Execute gohstd!
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
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 |
Click to show internal directories.
Click to hide internal directories.