I have found this: http://forum.mattermost.org/t/no-admin-access-on-mac-dev-install/610/4
When I run: src/github.com/mattermost/platform $ go run mattermost.go -assign_role -team_name="yourteam" -email="you@example.com" -role="system_admin"
myuser@ubuntu2:~/go/src/github.com/mattermost/platform$ go run mattermost.go -assign_role -team_name="jeda" -email="myuser@gmail.com" -role="system_admin"
Error:
mattermost.go:20:2: cannot find package "code.google.com/p/log4go" in any of:
/usr/local/go/src/code.google.com/p/log4go (from $GOROOT)
/home/mbonny/go/src/code.google.com/p/log4go (from $GOPATH)
api/server.go:8:2: cannot find package "github.com/braintree/manners" in any of:
/usr/local/go/src/github.com/braintree/manners (from $GOROOT)
/home/mbonny/go/src/github.com/braintree/manners (from $GOPATH)
api/file.go:10:2: cannot find package "github.com/disintegration/imaging" in any of: