Serverless services for Kebetoo
Before starting, be sure to edit .env files to match your custom config
$ yarn install
$ yarn develop
$ mkdir layer
$ cd layer
$ curl -O https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-amd64-static.tar.xz
$ tar xf ffmpeg-git-amd64-static.tar.xz
$ rm ffmpeg-git-amd64-static.tar.xz
$ mv ffmpeg-git-*-amd64-static ffmpeg
$ cd ..
- Test s3 upload event
aws --endpoint http://localhost:4569 s3 cp ./tmp/input.mp4 s3://local-bucket/videos/input.mp4 --profile s3local