简体   繁体   English

有没有办法上传大文件到github

[英]Is there a way to upload large files to github

I am trying to upload my Django application to Github so that I can deploy it to Heroku.我正在尝试将我的 Django 应用程序上传到 Github,以便我可以将其部署到 Heroku。 However, the files are prohibitively large.但是,这些文件非常大。

I used lfs but even after compression, the upload gets stuck at 99% and later on exhibits a fatal error.我使用了 lfs,但即使在压缩之后,上传也会卡在 99%,后来出现致命错误。

I am using Postgres as my database.我使用 Postgres 作为我的数据库。 I have video files that are about 400mb each in size.My static files are about 300mb each.我有每个大小约为 400mb 的视频文件。我的 static 文件每个大小约为 300mb。

How do I fix this problem?我该如何解决这个问题?

Don't upload videos on Github.不要在 Github 上上传视频。 Upload videos on media server which served by NGINX or Apache.在 NGINX 或 Apache 服务的媒体服务器上上传视频。 If you have static files in large size then upload one by one instead of bulk.如果您有大尺寸的 static 文件,请逐个上传,而不是批量上传。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我无法上传多个大文件 - I can't upload multiple large files 使用django-chunked-upload和jQuery-File-Upload的任何建议来上传大文件 - any suggestions with django-chunked-upload and jQuery-File-Upload to upload large files 在现代浏览器中上传文件的最佳方式是什么? - What is the best way to upload files in a modern browser 将大文件 Django 存储上传到 AWS S3 - Upload Large files Django Storages to AWS S3 有没有办法在nginx上上传一个非常大的文件使用django? - Is there any way to upload a very large file use django on nginx? 如何使用 Google App Engine + Django 和 JQuery File Upload 将大文件上传到 Google Storage - How to upload large files to Google Storage using Google App Engine + Django and JQuery File Upload 有没有办法使用 Django REST 框架中的可浏览 API 上传文件? - Is there a way to upload files using the browsable API in Django REST framework? 在 django 中验证用户上传文件的最佳方法 - best way to validate a user's upload files in django Django:Ajax上载包含文件的Formdata时出现413(请求实体太大)错误 - Django: 413 (request entity too large) error upon ajax upload of Formdata containing files 基于Web的大文件上传,带有Django或asp.net中的简历功能 - Web based large files upload with resume facility in django or asp.net
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM