Skip to content

WIP: Add Installer

minibikini requested to merge minibikini/pleroma:feature/installer into develop

This is an experimental proof of concept of Pleroma Installer / Config Generator (#1235).

The idea is somehow to check configuration inside Pleroma.Application and if it's invalid - run the installer instead of pleroma's workers and supervisors. The installer itself is a separate hex package with a pretty standard phoenix application (repo).

The main question now is if this approach is good enough for Pleroma.

Steps to try:

  1. Checkout this branch
  2. Rename (backup) you custom config. Depending on your environment and the way you run Pleroma (mix phx.server or pleroma start) it could be config/*.secret.exs, PLEROMA_CONFIG_PATH or /etc/pleroma/config.exs. Otherwise, the installer won't start.
  3. Compile and run Pleroma as usual
  4. Open http://localhost:4000/
  5. Enjoy.
Edited by minibikini

Merge request reports