Install Go 1.7.x or greater, git, setup $GOPATH, and PATH=$PATH:$GOPATH/bin
Run the server
cd $GOPATH/src/github.com/maddevsio/screen-monitoring/agents/ahrefs
go build
./ahrefs -dashboardURL=http://127.0.0.1:8080/dashboard/v1/register -httpAddr=:8090 -ahrefsEmail=email@mail.com -ahrefsPassword=password -ahrefsProject=project_name
Usage of ./ping_agent:
-dashboardURL string
Dashboard service URL (default "http://localhost:8080/dashboard/v1/register")
-httpAddr string
HTTP listen address (default ":8090")
-ahrefsEmail string
Email address of your ahrefs.com account. (default "email@mail.com")
-ahrefsPassword string
Password. (default "password")
-ahrefsProject string
Link to the project which data metrics you want to get. Be sure to use the exact url which is shown at ahrefs dahsboard. (default "http://myproject.com")