Author: Murphy

  • Installing SBT on an M1 Mac

    Turns out it’s pretty simple when you do it the right way: SDK Man is the way to go: And SBT should run without much trouble after that.

  • Deploying Elixir to

    I’ve deployed a few different Elixir services to the hosting platform and found their provided documentation to be lacking for real-world Phoenix apps. Especially if you’re using Live View. Here’s an augmentation to their guide with the extra steps you might be missing. Initial Setup Follow the official guide: but don’t deploy your […]

  • Authenticated Live View Tests

    I’ve been running through Pragmatic Studio’s Live View course, which I highly recommend, and wanted to make a specific note of how to authenticate users when writing Live View tests after adding phx_gen_auth to a Phoenix project. Happily, this is a very short post, because phx_gen_auth does all the work for you. When you’ve run […]

  • Murphy’s setup guide for a new Phoenix (1.5) project

    What follows is an extremely concise list of steps I’m keeping around for reference when setting up a new Elixir / Phoenix project with Tailwind, Alpine, and user auth. NOTE: Pretending the name of the app is “love_notes” Generate it mix love\_notes –live Use UUIDs in config/config.exs Setup Tailwind from Install Postcss In […]