2013-12-04 04:10
浏览 59

git push和部署golang appengine

appcfg.py --oauth2 update ./ works but want to replace it with git push and deploy. After succesfull push, appengine gives me errors that my .go files are not compiled.

Is it possible for appengine to compile the files when using a git repo? If not do I need to place the compiled files in another directory?

图片转代码服务由CSDN问答提供 功能建议

appcfg.py --oauth2 update ./可行,但希望将其替换为git 推送和部署。 成功推送后,appengine提示我我的.go文件未编译。

使用git repo时,appengine是否可以编译文件? 如果不是,我是否需要将编译后的文件放在另一个目录中?

  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • dtu15253 2013-12-05 10:29

    This is a known issue. Please star it.

    For now, all you can do is keep using appcfg.py. If it is cumbersome to do the OAuth authorisation all the time (or you have multiple accounts), consider storing your refresh token and then doing:

    appcfg.py update . --oauth2 --oauth2_refresh_token=`cat .token`
    解决 无用
    打赏 举报

相关推荐 更多相似问题