gcloud app deploy : This deployment has too many files

后端 未结 7 1969
無奈伤痛
無奈伤痛 2020-12-06 17:06

I got the below error, when I tried to deploy my GAE app through gcloud.

Updating service [default]...failed.                                                         


        
7条回答
  •  借酒劲吻你
    2020-12-06 17:39

    Few things:

    1. Sometimes the static folder can get a bit messy. Try deleting it and rerunning python manage.py collectstatic, this cut down about 2000 files for me.
    2. Make sure your .gcloudignore file ignores the assets folder, given they've just been moved to static.
    3. Ignore virtualenv folders, they're big

提交回复
热议问题