brainlid
Blog Post: Loading a structure.sql file on Prod without mix
Have you run mix ecto.dump and now rely on a structure.sql file to bootstrap a new DB? When you deploy a release to a production-like environment, you don’t have MIX and you can’t run mix ecto.load . See how we can still bootstrap a clean staging environment or deploy to a fresh prod DB! (Spoiler: We’ll steal code from ecto_sql!)
Popular in Blog Posts
Learn how to leverage Erlang + Elixir’s GenServer to build a robust FTP Client.
https://rlopzc.com/posts/elixir-ftp-client-genserver-par...
New
Livebook was created for machine learning in Elixir but Livebook isn’t limited to machine learning. I found it works really well for docu...
New
Hey there! This is the first article in what I hope will be a nice series about how I built (and am building) Lofi Limo. If you have any ...
New
Hi folks, I wrote a blog post the other day on how I built my MVP in 3 months whilst having a day job, using Elixir/Phoenix/LiveView.
Th...
New
This post explores different ways to do test automation in Elixir, focusing on how to handle dependency injection — covering patterns, li...
New
OTP 26 was released and the Elixir 1.14.4 builds have been updated! Erlang OTP 26 changed how map keys are sorted, or not sorted actually...
New
I’m closing out, for now, my series on questions at the heart of development with an analysis of when we need more abstraction. For exam...
New
A long-running GenServer holds orders, positions, strategy state, and operational flags for a system trading real capital. The post walks...
New
Hello everyone, I just published my first blog post ever.
I am learning Elixir, OTP & Phoenix and wanted to start a blog for a while...
New
Use the new log handlers to plug Slack or any other provider into your logging system.
https://rlopzc.com/posts/integrate-slack-into-the...
New
Other popular topics
None of the current solutions worked well for me, so I went ahead and built a user management system from scratch.
This project took far...
New
I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is un...
New
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
New
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New
I have a relationship of love and hate with Elixir. Lots of things are just absolutely right, but there are some things that are kind of ...
New
Hello everybody,
usually, I use a 29" ultra-wide monitor for VSCode which can easily accomodate explorer (files panel) + file with code ...
New
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine)
This is a plugin that adds support for Elixir to JetBrains IntelliJ...
New
I am going through the kafka architecture. All the features what the kafka is providing are already in Erlang. I would like hear your opi...
New
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance








