1.6 KiB
1.6 KiB
Maintenance tasks
Installation
Generates new configuration files.
!!! warning 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>]
Options
-f,--forceWhether to erase existing files-o,--output PATHThe path to output the.envfile. Defaults to.env.production.--output_psql PATHThe path to output the SQL script. Defaults tosetup_db.psql.--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
Depreciated commands
move_participant_stats
Task to move participant stats directly on the event table (so there's no need to count event participants each time).
This task should only be run once when migrating from v1.0.0-beta.1 to v1.0.0-beta.2.
This task will be removed in version v1.0.0-beta.3.
mix mobilizon.move_participant_stats
setup_search
Task to setup search for existing events.
This task should only be run once when migrating from v1.0.0-beta.1 to v1.0.0-beta.2.
This task will be removed in version v1.0.0-beta.3.
mix mobilizon.setup_search