mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-23 16:33:28 +00:00
Merge branch 'patch-3' into 'master'
Adding listen-port option to `mix mobilizon.instance gen` See merge request framasoft/mobilizon!525
This commit is contained in:
commit
f7aa050d68
1 changed files with 3 additions and 1 deletions
|
@ -24,6 +24,7 @@ defmodule Mix.Tasks.Mobilizon.Instance do
|
||||||
- `--dbname DBNAME` - the name of the database to use
|
- `--dbname DBNAME` - the name of the database to use
|
||||||
- `--dbuser DBUSER` - the user (aka role) to use for the database connection
|
- `--dbuser DBUSER` - the user (aka role) to use for the database connection
|
||||||
- `--dbpass DBPASS` - the password to use for the database connection
|
- `--dbpass DBPASS` - the password to use for the database connection
|
||||||
|
- `--listen-port PORT` - the port the app should listen to, defaults to 4000
|
||||||
"""
|
"""
|
||||||
|
|
||||||
use Mix.Task
|
use Mix.Task
|
||||||
|
@ -48,7 +49,8 @@ defmodule Mix.Tasks.Mobilizon.Instance do
|
||||||
dbname: :string,
|
dbname: :string,
|
||||||
dbuser: :string,
|
dbuser: :string,
|
||||||
dbpass: :string,
|
dbpass: :string,
|
||||||
dbport: :integer
|
dbport: :integer,
|
||||||
|
listen_port: :string
|
||||||
],
|
],
|
||||||
aliases: [
|
aliases: [
|
||||||
o: :output,
|
o: :output,
|
||||||
|
|
Loading…
Reference in a new issue