logchimp config:generate

Generate a new configuration for a LogChimp instance.

USAGE
  $ logchimp config:generate [flags]

EXAMPLES
  $ logchimp config:generate --force
  $ logchimp config:generate --dbhost=localhost --dbuser=username
  --dbname=database --dbport=5432

Options

  • -f or --force - Overwrite the existing configuration file, if present.
  • -i or --interactive - Use interactive mode
  • --env - Generates logchimp.config.json file using environment variable.

Server

  • --local - Run LogChimp for local development/testing
  • --port=port - [default: 3000] Server port to listen on
  • --secretkey=secretkey - Secret key for password validation (default auto generate random string)

Database

  • --dbhost=dbhost - Database host
  • --dbname=dbname - Database name
  • --dbpass=dbpass - Database password (default auto generate random password)
  • --dbport=dbport - [default: 5432] Database port
  • --[no-]dbssl - Enable SSL for database (default true for production)
  • --dbuser=dbuser - Database username

Mail

  • --mailhost=mailhost - Mail service SMTP hostname
  • --mailpass=mailpass - Mail service SMTP password (default auto generate random password)
  • --mailport=mailport - [default: 587] Mail service SMTP port
  • --mailservice=mailservice - Mail service e.g. MailGun
  • --mailuser=mailuser - Mail service SMTP username