peterojo / laravel54-youtube-clone

Full implementation of youtube clone from @codecourse tutorial, but done with Laravel 5.4 instead of 5.3, with several differences including Laravel Mix instead of Elixir, axios instead of vue-resource, pluralize npm package instead of the pluralize filter previously available in vue 1
5 stars 5 forks source link

Where to configure aws bucket? #1

Open aarontanzk opened 6 years ago

aarontanzk commented 6 years ago

Hi the .env file is the original laravel env , and not specifically for this app. Do you have the env file with the required fields?

I'm currently having some problems, where uploaded videos are going to http://localhostvideos/15a291f5986f33 , despite having IMAGE_BUCKET and VIDEOS_BUCKET (created my own env ) in my env file.

aarontanzk commented 6 years ago

and my videos all seem to be saying "processing... please come back later"

peterojo commented 6 years ago

Hello @aarontanzk you have to create your amazon s3 account and insert your own values for all the .env variables, i.e. AWS_KEY, AWS_SECRET, AWS_REGION, IMAGE_BUCKET, DROP_BUCKET

aarontanzk commented 6 years ago

Why is my video saved to http://localhost? Shouldn't it be s3 or something ? I do see the stored videos in storage folder though

aarontanzk commented 6 years ago

hi update, i have done the AWS .env config. it appears in my s3 video bucket.

However, it still shows processing... and I have to manually set the sql processed to 1

then it will show "The media could not be loaded, either because the server or network failed..."