gpt4 book ai didi

ios - 将图像从 Parse 移动到 S3 AWS

转载 作者:可可西里 更新时间:2023-11-01 10:02:42 25 4
gpt4 key购买 nike

我需要帮助将我拥有的图像从 Parse 转移到 AWS 上的 S3。我查看了许多假定的指南和 GitHub 项目,但一切都无法为您提供所有信息。有人甚至说,您需要设置 GCS bucket,但没有详细说明如何设置。请有人帮我解决这个问题。我在我的 index.js 中为应用程序设置了 S3 文件适配器,但没有图像存在,它们仍然托管在解析中。

最佳答案

如果您指的是托管在 parse.com 上的旧图像,您希望将其移动到您自己的环境中,那么可以使用实用工具来完成。

Get all files across all classess in a Parse database.
Print file URLs to console OR transfer to S3, GCS, or filesystem.
Rename files so that Parse Server no longer detects that they are hosted by Parse.
Update MongoDB with new file names.

https://github.com/parse-server-modules/parse-files-utils

如果您已正确设置 S3 存储桶,那么您应用中的所有新图像都将存储在那里。

https://github.com/ParsePlatform/parse-server/wiki/Configuring-File-Adapters

关于ios - 将图像从 Parse 移动到 S3 AWS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41026658/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com