I'm want to deploy my Django project with MySQL on Gcloud I have done all configurations but I'm getting a major issue and it cant be deployed
Im getting this error
"ERROR: (gcloud.app.deploy) INVALID_ARGUMENT: This deployment has too many files. New versions are limited to 10000 files for this app. - '@type': type.googleapis.com/google.rpc.BadRequest fieldViolations:
- description: This deployment has too many files. New versions are limited to 10000 files for this app. field: version.deployment.files[...] django"
App.yaml
# [START django_app]
runtime: python38
handlers:
# This configures Google App Engine to serve the files in the app's
# static directory.
- url: /static
static_dir: static/
# This handler routes all requests not caught above to the main app.
# It is required when static routes are defined, but can be omitted
# (along with the entire handlers section) when there are no static
# files defined.
- url: /.*
script: auto
# [END django_app]
I dont have idea why im getting this error so please let me know so I can fix this issue also this is view for sql data Sql Statics
Please guys help me to fix this issue
.gcloudignoreand.gitignore(if you have one)? Can you tell us what your application's directory structure looks like? - Dustin Ingramvirtualenvwithin of your project folder? if this the case add your virtualenv folder in.gcloudignorefile, or move the virtualenv to another folder. - Jan Hernandez