Does Google App Engine's git Push-to-Deploy also work with git submodules?

拈花ヽ惹草 提交于 2019-12-11 10:26:48

问题


I've got an appengine Python app which takes advantage of endpoints-proto-datastore. I did install endpoints-proto-datastore using:

git submodule add https://github.com/GoogleCloudPlatform/endpoints-proto-datastore

It does work when I deploy my app through PyCharm (using Google Appengine Python SDK). It does not work when I push to google's repository (Push-to-Deploy). When using Push-to-Deploy I get the following log message:

ImportError: No module named endpoints_proto_datastore.ndb

Do I have to download the endpoints_proto_datastore library and unzip it in the root directory to get Push-to-Deploy working? I wanted to be up-to-date, that's why I did use the git submodule.


回答1:


It looks like this does not work as stated here



来源:https://stackoverflow.com/questions/27905918/does-google-app-engines-git-push-to-deploy-also-work-with-git-submodules

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!