Active Storage integration with Google Cloud Storage — Fast-Track

<p>Today we&rsquo;re going to talk about how to setup Google Cloud Storage to host images on your Rails app. This builds from my experience hosting pictures for&nbsp;<a href="https://uff-app.herokuapp.com/" rel="noopener ugc nofollow" target="_blank"><strong>Uff!</strong></a><strong>&nbsp;</strong>a Ruby on Rails web app to discover street artists.</p> <p><img alt="" src="https://miro.medium.com/v2/resize:fit:680/1*Z3XS7Y7vPBaXHqlp-_yrvg.png" style="height:586px; width:680px" /></p> <p><a href="https://uff-app.herokuapp.com/" rel="noopener ugc nofollow" target="_blank">Uff&nbsp;</a>Home Screen &mdash; With Active Storage + Google Cloud</p> <h1>Active Storage Setup &mdash; Quick Reminder</h1> <p><strong>You need to have Active Storage in place for Google Cloud Storage to work</strong>. If you don&rsquo;t have Active Storage installed make sure you do&nbsp;<code>rails active_storage:install</code>&nbsp;and&nbsp;<code>rake db:migrate</code>&nbsp;so you can get the Active Storage tables for file management as well as the&nbsp;<code>storage.yml</code>&nbsp;configuration file that will be essential for Google Cloud Storage (GCS) integration.</p> <p><a href="https://fbohorqu.medium.com/active-storage-integration-with-google-cloud-storage-fast-track-5198580031e1"><strong>Visit Now</strong></a></p>
Tags: Fast Track