{"action":"created","issue":{"url":"https://api.github.com/repos/schollz/find3/issues/111","repository_url":"https://api.github.com/repos/schollz/find3","labels_url":"https://api.github.com/repos/schollz/find3/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/schollz/find3/issues/111/comments","events_url":"https://api.github.com/repos/schollz/find3/issues/111/events","html_url":"https://github.com/schollz/find3/issues/111","id":346438640,"node_id":"MDU6SXNzdWUzNDY0Mzg2NDA=","number":111,"title":"Main server build instructions?","user":{"login":"doronbehar","id":10998835,"node_id":"MDQ6VXNlcjEwOTk4ODM1","avatar_url":"https://avatars2.githubusercontent.com/u/10998835?v=4","gravatar_id":"","url":"https://api.github.com/users/doronbehar","html_url":"https://github.com/doronbehar","followers_url":"https://api.github.com/users/doronbehar/followers","following_url":"https://api.github.com/users/doronbehar/following{/other_user}","gists_url":"https://api.github.com/users/doronbehar/gists{/gist_id}","starred_url":"https://api.github.com/users/doronbehar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doronbehar/subscriptions","organizations_url":"https://api.github.com/users/doronbehar/orgs","repos_url":"https://api.github.com/users/doronbehar/repos","events_url":"https://api.github.com/users/doronbehar/events{/privacy}","received_events_url":"https://api.github.com/users/doronbehar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-01T03:53:34Z","updated_at":"2018-08-01T04:07:47Z","closed_at":"2018-08-01T04:07:47Z","author_association":"NONE","body":"I would like to package find3 main server for Arch Linux, I couldn't find instructions for building the it from source.\r\nWhile in `server/main` I tried to run the commands in the [`Makefile`](https://github.com/schollz/find3/blob/master/server/main/Makefile) but I got the following errors for `go build`:\r\n```\r\nmain.go:14:2: cannot find package \"github.com/schollz/find3/server/main/src/api\" in any of:\r\n        /usr/lib/go/src/github.com/schollz/find3/server/main/src/api (from $GOROOT)\r\n        /home/doron/.go/src/github.com/schollz/find3/server/main/src/api (from $GOPATH)\r\nmain.go:15:2: cannot find package \"github.com/schollz/find3/server/main/src/database\" in any of:\r\n        /usr/lib/go/src/github.com/schollz/find3/server/main/src/database (from $GOROOT)\r\n        /home/doron/.go/src/github.com/schollz/find3/server/main/src/database (from $GOPATH)\r\nmain.go:16:2: cannot find package \"github.com/schollz/find3/server/main/src/mqtt\" in any of:\r\n        /usr/lib/go/src/github.com/schollz/find3/server/main/src/mqtt (from $GOROOT)\r\n        /home/doron/.go/src/github.com/schollz/find3/server/main/src/mqtt (from $GOPATH)\r\nmain.go:17:2: cannot find package \"github.com/schollz/find3/server/main/src/server\" in any of:\r\n        /usr/lib/go/src/github.com/schollz/find3/server/main/src/server (from $GOROOT)\r\n        /home/doron/.go/src/github.com/schollz/find3/server/main/src/server (from $GOPATH)\r\n```\r\nAnd for `dep ensure`:\r\n```\r\ncould not find project Gopkg.toml, use dep init to initiate a manifest\r\n```\r\nFrom my little understanding of go development, after `dep ensure` the 1st errors won't appear but there is no `Gopkg.toml` in the repo."},"comment":{"url":"https://api.github.com/repos/schollz/find3/issues/comments/409442832","html_url":"https://github.com/schollz/find3/issues/111#issuecomment-409442832","issue_url":"https://api.github.com/repos/schollz/find3/issues/111","id":409442832,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTQ0MjgzMg==","user":{"login":"schollz","id":6550035,"node_id":"MDQ6VXNlcjY1NTAwMzU=","avatar_url":"https://avatars1.githubusercontent.com/u/6550035?v=4","gravatar_id":"","url":"https://api.github.com/users/schollz","html_url":"https://github.com/schollz","followers_url":"https://api.github.com/users/schollz/followers","following_url":"https://api.github.com/users/schollz/following{/other_user}","gists_url":"https://api.github.com/users/schollz/gists{/gist_id}","starred_url":"https://api.github.com/users/schollz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schollz/subscriptions","organizations_url":"https://api.github.com/users/schollz/orgs","repos_url":"https://api.github.com/users/schollz/repos","events_url":"https://api.github.com/users/schollz/events{/privacy}","received_events_url":"https://api.github.com/users/schollz/received_events","type":"User","site_admin":false},"created_at":"2018-08-01T04:07:47Z","updated_at":"2018-08-01T04:07:47Z","author_association":"OWNER","body":"First get dependencies:\r\n\r\n```\r\n$ sudo apt-get install g++\r\n$ sudo apt-get install mosquitto-clients mosquitto\r\n$ go get -u -v github.com/schollz/find3/...\r\n```\r\n\r\nThen start the AI server:\r\n\r\n```\r\n$ cd $GOPATH/src/github.com/schollz/find3/server/ai\r\n$ sudo python3 -m pip install -r requirements.txt\r\n$ make\r\n```\r\n\r\nThen start main server:\r\n\r\n```\r\n$ cd $GOPATH/src/github.com/schollz/find3/server/main\r\n$ go build -v\r\n$ ./main -port 8005 \r\n```\r\n\r\nThese instructions are at https://www.internalpositioning.com/doc/server_setup.md\r\n"}}
{"actor":{"display_login":"schollz"}}