View Source mix mobilizon.instance (Mobilizon v4.1.0-alpha.1)

Generates a new config

Usage

mix mobilizon.instance gen [OPTION...]

If any options are left unspecified, you will be prompted interactively.

Options

  • -f, --force - overwrite any output files
  • -o PATH, --output PATH - the output file for the generated configuration
  • --output-psql PATH - the output file for the generated PostgreSQL setup
  • --domain DOMAIN - the domain of your instance
  • --instance-name INSTANCE_NAME - the name of your instance
  • --admin-email ADMIN_EMAIL - the email address of the instance admin
  • --dbhost HOSTNAME - the hostname of the PostgreSQL database to use
  • --dbname DBNAME - the name of the database to use
  • --dbuser DBUSER - the user (aka role) to use for the database connection
  • --dbpass DBPASS - the password to use for the database connection
  • --dbport DBPORT - the database port
  • --listen-port PORT - the port the app should listen to, defaults to 4000

Summary

Functions

Callback implementation for Mix.Task.run/1.

Functions

@spec run([binary()]) :: no_return()

Callback implementation for Mix.Task.run/1.