Go to file
Derek McQuay 2dc80f928b
update readme
Signed-off-by: Derek McQuay <derekmcquay@gmail.com>
2018-04-10 19:44:35 -07:00
cmd/hdxd update readme 2018-04-10 19:44:35 -07:00
vendor initial commit 2018-04-10 19:17:26 -07:00
db.go initial commit 2018-04-10 19:17:26 -07:00
Gopkg.lock initial commit 2018-04-10 19:17:26 -07:00
Gopkg.toml initial commit 2018-04-10 19:17:26 -07:00
ip.go initial commit 2018-04-10 19:17:26 -07:00
LICENSE initial commit 2018-04-10 19:17:26 -07:00
README.md update readme 2018-04-10 19:44:35 -07:00
routes.go initial commit 2018-04-10 19:17:26 -07:00
server.go initial commit 2018-04-10 19:17:26 -07:00
sql.go initial commit 2018-04-10 19:17:26 -07:00

hdx

Simple IP counting web service

Installing From Source

Move the hdx directory in the root of your $GOPATH. Once there, you can install by running

$ go install hdx/...

This will yield a binary called hdxd. hdxd comes with its own usage:

$ hdxd run -h

run hdxd with given options

Usage:
  app run [flags]

Flags: 
  -h, --help                  help for run
  -n, --host string           hostname
  -p, --port int              port (default -1)

hdxd can be run by giving these flags values. For example:

$ hdxd run -p 8080

is the most basic way to run the application.

Expects a Postgres DB with DBName 'hdx', DBUser 'dm' and running on localhost:5432