How to upload sitemap.xml to AWS S3 in Ruby on Rails

Using Rails credentials + our bucket setup on AWS S3, we can now begin to store files there. The first one we'll setup is a very simple tweak to our Sitemap generator so we can upload our sitemap there.
šŸ¤Æ Support
  • https://www.patreon.com/davidwparker
  • https://www.buymeacoffee.com/davidwparker

ā±ļø Timestamps:
  • 00:00 - Introduction
  • 00:35 - Setup / Readme
  • 01:00 - AWS S3 setup
  • 01:59 - aws sdk Gemfile
  • 02:38 - sitemap generator update
  • 03:58 - demo

šŸ’Œ Newsletter:
  • https://www.programmingtil.com/

šŸŖElsewhere:
  • Twitter: https://twitter.com/davidwparker
  • Twitter: https://twitter.com/programmingtil
  • GitHub: https://github.com/davidwparker

šŸ’­Concepts:
  • Uploading a sitemap.xml file to S3

šŸ“šResources:
  • https://github.com/davidwparker/programmingtil-rails/tree/ep25
  • https://s3.console.aws.amazon.com/

šŸŽ¬ Subscribe!
  • http://bit.ly/subdavidwparker

My name is David W Parker and Iā€™m creating and publishing videos on ProgrammingTIL to help teach anyone and everyone who wants to code. Iā€™m a huge fan of Ruby on Rails, Svelte, TailwindCSS, and WebGL. Iā€™ve used React a lot in the past, as well as some Vue and AngularJS. Iā€™ve done some professional Python and Django. I like to create real applications and my tutorials will walk you through how to build something real from beginning-to-end.

ruby #rails #rubyonrails

Ā© programmingtil.com