dongpanshi2839 2014-07-22 13:54
浏览 16

Golang应用程式部署

I am about to finish my app and I want to deploy it on a private server. I want to be able to do the following things automatically:

  • run the go tests
  • package the app
  • deploy it in the server
  • have the ability to roll back

How do I accomplish this easily for a go app?

  • 写回答

1条回答 默认 最新

  • doucheng5209 2014-07-22 14:12
    关注

    Personally I'm using Fabric (python based) for app deployments, and Chef for server management. The thing is, since Go's artifacts are just one big binary, the deployer doesn't matter much, the build process is more important.

    I'm just packing Go binaries as tar.gz's and sending them to the server with Fabric. I've never used Capistrano but from what I've read it looks perfect for deploying Go apps.

    评论

报告相同问题?

悬赏问题

  • ¥15 随身WiFi网络灯亮但是没有网络,如何解决?
  • ¥15 gdf格式的脑电数据如何处理matlab
  • ¥20 重新写的代码替换了之后运行hbuliderx就这样了
  • ¥100 监控抖音用户作品更新可以微信公众号提醒
  • ¥15 UE5 如何可以不渲染HDRIBackdrop背景
  • ¥70 2048小游戏毕设项目
  • ¥20 mysql架构,按照姓名分表
  • ¥15 MATLAB实现区间[a,b]上的Gauss-Legendre积分
  • ¥15 delphi webbrowser组件网页下拉菜单自动选择问题
  • ¥15 linux驱动,linux应用,多线程