Mobilizon provides commands to perform some tasks.
You need to run these commands with the appropriate environment loaded, so probably prefix with
The commands are documented as if they were being used a source installation:
MIX_ENV=prod mix mobilizon.command.subcommand
If you use Elixir releases (such as Docker), the commands need to be changed like this:
For instance, creating a new admin without Docker would be something like:
MIX_ENV=prod mix mobilizon.users.new "firstname.lastname@example.org" --admin --password "Y0urP4ssw0rd"
Inside Docker, it would be something like:
docker-compose exec mobilizon mobilizon_ctl users.new "email@example.com" --admin --password "Y0urP4ssw0rd"