diff options
author | rinpatch <rinpatch@sdf.org> | 2019-12-09 10:27:43 +0000 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-12-09 10:27:43 +0000 |
commit | 990cd7ef5d26beb49ed19279844ccc6c1ebe2218 (patch) | |
tree | b24f7ec6372d3b9e931a54e99fabf909e746d22f /docs/administration/CLI_tasks/instance.md | |
parent | 1e2bb450dbff1b8c0eee5d131992ec0a9e57c743 (diff) | |
parent | eb9ea8475b19d6a00f690421b193310c09ba40f3 (diff) | |
download | pleroma-990cd7ef5d26beb49ed19279844ccc6c1ebe2218.tar.gz pleroma-990cd7ef5d26beb49ed19279844ccc6c1ebe2218.zip |
Merge branch 'feat/docs-otp-source-picker' into 'develop'
docs: add OTP/From source tabs to CLI tasks
See merge request pleroma/pleroma!2046
Diffstat (limited to 'docs/administration/CLI_tasks/instance.md')
-rw-r--r-- | docs/administration/CLI_tasks/instance.md | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/docs/administration/CLI_tasks/instance.md b/docs/administration/CLI_tasks/instance.md index ab0b68ad0..1a3b268be 100644 --- a/docs/administration/CLI_tasks/instance.md +++ b/docs/administration/CLI_tasks/instance.md @@ -1,12 +1,17 @@ # Managing instance configuration -Every command should be ran with a prefix, in case of OTP releases it is `./bin/pleroma_ctl instance` and in case of source installs it's `mix pleroma.instance`. +{! backend/administration/CLI_tasks/general_cli_task_info.include !} ## Generate a new configuration file -```sh -$PREFIX gen [<options>] +```sh tab="OTP" + ./bin/pleroma_ctl instance gen [<options>] ``` +```sh tab="From Source" +mix pleroma.instance gen [<options>] +``` + + If any of the options are left unspecified, you will be prompted interactively. ### Options |