WIP: Add Installer
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:
- Checkout this branch
- Rename (backup) you custom config. Depending on your environment and the way you run Pleroma (
mix phx.server
orpleroma start
) it could beconfig/*.secret.exs
,PLEROMA_CONFIG_PATH
or/etc/pleroma/config.exs
. Otherwise, the installer won't start. - Compile and run Pleroma as usual
- Open
http://localhost:4000/
- Enjoy.