简体   繁体   中英

Heroku: how to put file that is not in git repo

Couldn't find the answer.

Is it possible to put some file in the heroku app files that is not in git repo? (Let's suppose I don't want this file to be managed by git, but my app needs it).

Thanks!

No, the only way to push files to the heroku server is through git.

If it's something heavy like a music or video file (or any kind of file really), you can host it on Amazon S3 instead, and you might want to look at tools like https://addons.mozilla.org/en-US/firefox/addon/amazon-s3-organizers3fox/ to help you upload files once your account is created.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM