how to deploy golang program in production

May 10, 2016 23.7k views
Go MongoDB

how to deploy golang program in production

2 Answers

Great question. Some quick googling has found this article which looks very helpful on the topic:

  • Answering any question with "some quick googling" is extremely insulting. You're implying that the questioner has never even heard of google.

You could use a tool like OpsCaptain to deploy golang apps to your droplet. Simply connect your droplet and then download the opscaptain cli and then run [opscaptain deploy] to deploy your go apps to your server. You can also create MySQL, MongoDB and PostgreSQL databases using opscaptain on your droplet. Backups are also supported. OpsCaptain allows you to deploy apps written in any language on your droplet. Learn more here:

Have another answer? Share your knowledge.