#gohstd
A web service for hosting your command history remotely, to be queried by all your machines via the gohst
command-line client
- 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
orgit clone https://github.com/warreq/gohstd
cd gohstd
go build
- (Optional) Build the web application
npm install
npm run build
- 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!