-
Install Goop from outside the proejct:
go get github.com/nitrous-io/goop
-
Run
goop install
-
Build worker
goop go build worker.go
We have to create the following indexs (these are nodes that we directly query with the 'WHERE' clause):
CREATE INDEX ON :InstagramUser(InstagramID)
CREATE INDEX ON :InstagramLocation(Username)
CREATE INDEX ON :InstagramLocation(InstagramID)
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 goop go build -o graff worker.go