title: Deploy and build my go app on my server
body: <p>I'm totaly new to go (it looks fabulous btw).</p>
  
  <p>So I want to build a "web-"app in go with the revel framework. The problem is I code on my mac (os : darwin, arch : amd64) and I want to deploy the app on my server (os : ubuntu 12.04, arch : amd64).
  I "go get" revel in local (so <code>bin/revel</code> it's a: Mach-O 64-bit executable) which is non executable on my server.</p>
  
  <p>For now when I push (with git), I've got a post-receive script to build the app (<code>revel build myapp /path/to/deploy</code>). Before I've tried to "go get" revel on my server, but it failed too.</p>
  
  <p>It's not working, I could understand why, but I don't have any idea how to get a workable workflow :</p>
  
  <ol><li>Code on my mac</li><li>Push my code (with git)</li><li>Build the app on the server</li></ol>
  
  <p>PS: I've read <a href="http://blog.gopheracademy.com/auto-deploy-revel-site" rel="noreferrer">http://blog.gopheracademy.com/auto-deploy-revel-site</a>, <a href="http://revel.github.io/manual/deployment.html" rel="noreferrer">http://revel.github.io/manual/deployment.html</a> as well as articles about cross-compilation)</p>