Generates new configuration files.
This command generates configuration for your Mobilizon instance and should be run only once when installing.
If any options are left unspecified, you will be prompted interactively.
mix mobilizon.instance gen [<options>]
--forceWhether to erase existing files
--output PATHThe path to output the
prod.secret.exsfile. Defaults to
--output-psql PATHThe path to output the SQL script. Defaults to
--domain DOMAINThe instance's domain
--instance-name INSTANCE_NAMEThe instance's name
--admin-email ADMIN_EMAILThe administrator's email
--dbhost HOSTNAMEThe database hostname of the PostgreSQL database to use
--dbname DBNAMEThe name of the database to use
--dbuser DBUSERThe database user (aka role) to use for the database connection
--dbpass DBPASSThe database user's password to use for the database connection
--dbport DBPORTThe database port
--listen-port PORTThe port the app should listen to, defaults to 4000
Fix unattached media¶
Introduced in Mobilizon 1.0.3
Fixes an issue with media files that were not attached to their entities when included directly in body text, meaning they would have been swept away when deleting orphan media files. This task should only be run once, and will be removed in version 1.2.0 of Mobilizon.