The installer does not upgrade an application. Rerunning it with the same version, brand and license changes nothing; anything else is refused. Apply a newer version by hand. The changelog lists what each version changes.
.ithibati-starter records it:
0.10.0
auth=true
brand=violet
license=mit
Older files may lack brand= (before 0.7.0) or license= (before 0.9.0), or carry a
beans= line (before 0.10.0).
Generate the installed version OLD and the target version NEW with the application's
name and options:
mkdir old new
(cd old && mix igniter.new my_app --with phx.new --only dev --yes \
--install ithibati_starter@github:oliverandrich/ithibati-starter@vOLD)
(cd new && mix igniter.new my_app --with phx.new --only dev --yes \
--install ithibati_starter@NEW)
diff -ruN -x deps -x _build -x mix.lock -x .git old/my_app new/my_app > upgrade.diffVersions before 0.10.0 come from GitHub, later ones from Hex. Pass --brand, --license,
--source-url and --copyright to each command that knows them: --brand exists from
0.7.0, the license options from 0.9.0. Before 0.10.0, add --without-beans if the old file
says beans=false.
Skip the signing_salt, encryption_salt and secret_key_base hunks. Changing them signs
everybody out. Set the ithibati_starter requirement in mix.exs to the target version.
Apply the rest hunk by hunk. Copy new migrations with their timestamps. Then:
mix deps.get
mix deps.unlock --unused
mise run checkSet the first line of .ithibati-starter to the target version.
Before deploying, check new migrations, new variables in config/runtime.exs and changed
release scripts under rel/overlays/bin.
- Brand: edit the
signaltokens inassets/css/app.cssand thebrand=line. - License: replace
LICENSE, the README's license section, theSPDX-License-Identifierlines and thelicense=line. AGPL also needs:source_urlinconfig/config.exs.