Recent Activity
Here's what @guy-aloni has been up to this past year
-
Anniversary Thanks for being an Acocasts member for 1 year
-
Completed lesson How To Create Your Own Global Helpers in AdonisJS
-
Replied to Thanks for watching, Guy! For that, I'd recommend using Drive...
Thanks. I tried it but got problems with relative and absolute path, and could not manage to have the same code working with both
fs
ands3
depending on the environment argumentDRIVE_DISK
. I understand that basically the same code should work for both, I will give it another try :-) -
Commented on post Uploading and Displaying User Avatars
Thanks Tom for the tutorial!
I am trying to implement upload action that will work in localhost with file-system, and in production with s3. Can you please tell how to do it with minimum code? I guess that usingDRIVE_DISK
in.env
file should be enough, but I do not manage to have the same code working for both s3 and local file system. -
Upvoted comment Can you please tell me how to upload image in s3 in adonis js...