Closed h3d-longnsp closed 1 year ago
IEx doesn’t load local modules by default. The -S
flag finds and executes the given script in $PATH
. When you give it the -S mix
options, it starts the local mix project and makes those modules available. Try $ ./iex -S mix
.
Your solution is a good alternative!
bin/up
finished and registered first account, I can't run this command inbin/iex
from./services/reticulum
to made it an admin accountRet.Account |> Ret.Repo.all() |> Enum.at(0) |> Ecto.Changeset.change(is_admin: true) |> Ret.Repo.update!()
. The console output this error:bin/psql
from./services/reticulum
then runUPDATE accounts SET is_admin = 't' WHERE is_admin = 'f';
(assuming you only have 1 account)