Skip to content

Instantly share code, notes, and snippets.

View mdunbavan's full-sized avatar

Mark Dunbavan mdunbavan

View GitHub Profile
@mdunbavan
mdunbavan / google_cloud_storage_craft_3.md
Created July 8, 2021 11:19 — forked from croxton/google_cloud_storage_craft_3.md
How to provision Google Cloud Storage buckets for Craft CMS 3.x

Create the bucket

  1. Open the console https://console.cloud.google.com
  2. If you haven't already, setup your Cloud billing account
  3. From the drop down at the top of the screen, create new project for your client, e.g. my-client
  4. Make a note of the Project number on the project Home screen (Craft refers to this as the Project ID)
  5. In the sidebar go to APIs & Services > Credentials, click the + Create credentials button and choose the Service Account type
  • Set account name to craft-cms or similar
  • Set role to Owner
  • Save
  1. Click on the newly created service account email to edit it, then click the Keys tab and click Add key > Create new key and select the JSON format
@mdunbavan
mdunbavan / GitCommitEmoji.md
Created September 14, 2022 09:31 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji
@mdunbavan
mdunbavan / beautiful.rest.api.docs.in.markdown.md
Created June 19, 2023 09:45 — forked from azagniotov/beautiful.rest.api.docs.in.markdown.md
Example to create beautiful REST API docs in Markdown, inspired by Swagger API docs.