mongodb - Configuring Parseserver hosted on Heroku to use AWS S3 Bucket -
i have app hosted on parse wanted migrate parseserver. so, did following :
1 - migrated data(without files) mongodb on mlab.
2 - deployed app directly on heroku using "connect github" button on heroku site connect parseserver repository wich have forked.
3 - have correctly configured app justed deployed on heroku use, mongodb database , parse app keys.
4 - downloaded latest parse android sdk , updated client use , went fine : new client connects correctly app hosted on heroku , can data mongodb database through app.
5 - created aws account , s3 bucket on , migrated files bucket parse.
my problem : how use files s3 bucket in heroku app ?
what did : followed tutorial on https://github.com/parseplatform/parse-server/wiki/configuring-file-adapters#configuring-s3adapter configure app use s3-adapter. tutorials devided in 2 parts : set bucket , permissions , configuration options. did first 1 no problem. in second 1 configuration options, configure s3 adapter environnement variables standalone parseserver or code if using node.js/express, and here problem : wich 1 should use ? if have use code node.js have put ?. tried using mentionned environnement variables config variables in heroku app did not work.
if can me, thankful.
Comments
Post a Comment