potions.io

potions.io

@potions.io

It's not magic. It's Potions.

12 followers7 following22 posts

Don't let a bad migration or stray Repo.delete_all ruin your day. With SQLite on Potions, Litestream streams every change to your own bucket, so you can rewind to just before it, anywhere in the last 7 days. potions.io/blog/sqlite-... #ElixirLang

potions.ioSQLite on Potions: one file, backed up within secondsRun your Phoenix app on a single SQLite file. Potions sets up Litestream so every change lands in your own bucket within seconds, and you can rewind the database to any point in the last seven days.

Quick releases tip, since it trips up a lot of us: Mix isn't in your release, so Mix tasks won't run in prod. Reach for bin/app rpc to talk to the running node, eval for a fresh VM, or remote for a live IEx shell. potions.io/blog/running... #ElixirLang

potions.ioRunning tasks in production with Elixir releases: rpc, eval, and remoteA video walkthrough building a recurring task for a deployed Phoenix app, from a Mix task in development to rpc, eval, and remote in production.

SQLite is now a first-class database on Potions. One file, no database server. Litestream runs beside your app and streams every change to your own bucket within seconds. Bad deploy? Rewind to any point in the last 7 days. potions.io/blog/sqlite-... #Elixir

potions.ioSQLite on Potions: one file, backed up within secondsRun your Phoenix app on a single SQLite file. Potions sets up Litestream so every change lands in your own bucket within seconds, and you can rewind the database to any point in the last seven days.

New post + screencast: running tasks in production with Elixir releases. Mix isn't there when you deploy a release. So what do bin/my_app rpc, eval, and remote actually do, and when do you use each? potions.io/blog/running... #Elixir #MyElixirStatus

potions.ioRunning tasks in production with Elixir releases: rpc, eval, and remoteA video walkthrough building a recurring task for a deployed Phoenix app, from a Mix task in development to rpc, eval, and remote in production.

With LiveView 1.2 you can move a surprising amount of client-side code back into Elixir. I refactored a trivia game to show how: server-composed JS commands, colocated CSS, and colocated hooks. Screencast + full walkthrough: potions.io/blog/colocat... #elixir

potions.ioWatch: Exploring LiveView 1.2's server-composed JS commands, colocated CSS, and colocated hooksA video walkthrough refactoring a LiveView trivia game piece by piece, moving the UI logic, styles, and JavaScript into the LiveView with LiveView 1.2.

You are up to date.