Published on

How To Setup Shopify Slate on Ubuntu


Shopify Slate on Ubuntu

So recently, I've started to make the move off MacOS as my daily work driver and was trying to work solely on my Windows 10 Laptop (Razer Blade). Well, it was all fine and dandy with my sweet WSL2 setup, until I encountered an issue. There's no official instructions on how to use Shopify Slate properly on Linux.

In this post, I'd like to document my steps taken to properly get a local SSL setup while still following Shopify Slate's instructions with their ssl-check shell function they provide you.

Note: I've made a PR with documentation updates to the Shopify Slate repo!

  1. Follow all the Shopify Slate instructions up to the "Create a self-signed SSL certificate" step
  2. Once at this step, you need to install mkcert by following these instructions from the official mkcert repo and then add this function to your shell/bash profile (.bash_profile, .zshrc, .bashrc, etc...)
  3. Restart your terminal or run source <location of your shell profile>
  4. Run ssl-check and then run mkcert -install
  5. You will need to restart your currently open browsers for these changes to take effect