Liveview File Uploads to S3

  Рет қаралды 1,647

LiveView Mastery

LiveView Mastery

Күн бұрын

Пікірлер: 11
@liveviewmastery
@liveviewmastery Жыл бұрын
I missed one piece. You'll need to add the following to your config/config.exs file: config :your_app, access_key_id: "fake", secret_access_key: "fake", bucket: "fake", region: "your_s3_region"
@crabhands6850
@crabhands6850 7 ай бұрын
Thank you! This was very helpful for my own project.
@pistrie8198
@pistrie8198 Жыл бұрын
Awesome, thank you for documenting this 🙂
@liveviewmastery
@liveviewmastery Жыл бұрын
Very welcome!
@masoncaldwell4219
@masoncaldwell4219 11 ай бұрын
love the video. any thoughts on how to edit / delete directly from the s3?
@arpanghoshal2579
@arpanghoshal2579 Жыл бұрын
Thanks this was very usefull. I have done normal uploads but only read about external uploads. Quick questions: * `consume_uploaded_entries/3` would only invoke after the upload was completed on the client side right? If we attempt to submit the form before the uploads are complete the form submission would wait until the uploads are done, is this understanding correct? I see the docs says "For form submissions, it is guaranteed that all entries have completed before the submit event is invoked" (I am guessing that when we do `entry.progress(100)` on the client side js code it informs the live view server process that the file was uploaded successfully.) * We added the "" in the template so that when editing on form submission we receive the photo url in the params, even if no new photo was uploaded. Is my understanding correct? Suggestion: I would would great if you can also add a link to the repo or the code for the other files in the gist, I mean the the live view module that actual has the handle_event callbacks.
@liveviewmastery
@liveviewmastery Жыл бұрын
A good guide for setting up Amazon S3: kzbin.info/www/bejne/n2OtiamdfdiJb9k
@felipe-rodriguees
@felipe-rodriguees 11 ай бұрын
maybe you can bring us the way we can configure the right way the S3
@educates_ourselves
@educates_ourselves Жыл бұрын
thank you
@empi425
@empi425 6 ай бұрын
no link to source code?
@liveviewmastery
@liveviewmastery 26 күн бұрын
Here's the blog post version with code snippets: blog.appsignal.com/2024/03/19/direct-file-uploads-to-amazon-s3-with-phoenix-liveview.html
Is Ash Framework the Real Deal for Elixir Devs? (Part 1)
33:37
LiveView Mastery
Рет қаралды 9 М.
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
Rethinking Serverless with FLAME
9:54
Chris McCord
Рет қаралды 15 М.
Building Twitter with Ash + Creator of Ash Framework (Part 2)
1:01:40
LiveView Mastery
Рет қаралды 6 М.
GigCityElixir23 - Scott Southworth
26:32
Groxio
Рет қаралды 577
How is this Website so fast!?
13:39
Wes Bos
Рет қаралды 1,3 МЛН
Fundamentals of Object Storage (with Elixir)
1:37:20
Underjord
Рет қаралды 908
Deploying a Phoenix Application to Digital Ocean
16:33
LiveView Mastery
Рет қаралды 2 М.