summaryrefslogtreecommitdiff
path: root/docs/administration/CLI_tasks/general_cli_task_info.include
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-12-09 04:07:16 +0300
committerrinpatch <rinpatch@sdf.org>2019-12-09 04:07:16 +0300
commiteb9ea8475b19d6a00f690421b193310c09ba40f3 (patch)
tree53786d780cc8e07100c70b4af4b01dfafd35d6b3 /docs/administration/CLI_tasks/general_cli_task_info.include
parentaf5fef1f228a1781d7d9cad490d3b3a783389f5e (diff)
downloadpleroma-eb9ea8475b19d6a00f690421b193310c09ba40f3.tar.gz
pleroma-eb9ea8475b19d6a00f690421b193310c09ba40f3.zip
docs: add OTP/From source tabs to CLI tasks
Diffstat (limited to 'docs/administration/CLI_tasks/general_cli_task_info.include')
-rw-r--r--docs/administration/CLI_tasks/general_cli_task_info.include5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/administration/CLI_tasks/general_cli_task_info.include b/docs/administration/CLI_tasks/general_cli_task_info.include
new file mode 100644
index 000000000..a1ff1da12
--- /dev/null
+++ b/docs/administration/CLI_tasks/general_cli_task_info.include
@@ -0,0 +1,5 @@
+Every command should be ran as the `pleroma` user from it's home directory. For example if you are superuser, you would have to wrap the command in `su pleroma -s $SHELL -lc "$COMMAND"`.
+
+??? note "From source note about `MIX_ENV`"
+
+ The `mix` command should be prefixed with the name of environment your Pleroma server is running in, usually it's `MIX_ENV=prod`