uniqush / uniqush-push

Uniqush is a free and open source software system which provides a unified push service for server side notification to apps on mobile devices.
http://uniqush.org
Apache License 2.0
1.54k stars 201 forks source link

Build procedure #128

Closed kartlee closed 8 years ago

kartlee commented 8 years ago

Hi Folks,

I find this project interesting and planned to use in one of my project. I wanted to build myself under darwin and play with it. Can you please point me to the documentation for the build procedure? I tried checking out the code from master and build with the script given in build/build-uniqush-push.sh. This started giving me issues related to 'code.google.com...' and more. Please point me to the recommended instructions to build it.

-Kartlee

TysonAndre commented 8 years ago

This took a while to figure out. I think we need to add a "go1" tag to the latest version of uniqush-push, etc. for the dependencies.

By default, it's checking out "go1". I thought it'd be getting the latest version, or latest code marked as a relase.

https://github.com/golang/go/wiki/PackagePublishing

EDIT: There was already a "go1" branch. I updated that to the improvements made after the 2.1.0 release (There should be a 2.1.1 release made)

TysonAndre commented 8 years ago

See the build script update from https://github.com/uniqush/uniqush-push/pull/129 .

The build script we were using used git clone instead of go get, so this wasn't noticed.

kartlee commented 8 years ago

Thanks for fixing it. I am able to build the binary for mac using the checked in script.