Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

help-beta: Indent includes and code blocks for import files.

Shubham Padia4b9a8d8fa798
diff --git a/help/import-from-mattermost.md b/help/import-from-mattermost.md
index 54363d76f30..d8ac4f22bd4 100644
--- a/help/import-from-mattermost.md
+++ b/help/import-from-mattermost.md
@@ -186,29 +186,29 @@ Replace `<username>` and `<server_ip>` with the appropriate values below.
(`EXTERNAL_HOST`) of the Zulip installation, run the following commands,
replacing `<team-name>` with the name of the Mattermost team you want to import.
- {!import-self-hosted-server-tips.md!}
-
- ```
- cd /tmp
- tar -xf mattermost_data.tar.gz
- cd /home/zulip/deployments/current
- ./scripts/stop-server
- ./manage.py convert_mattermost_data /tmp/mattermost_data --output /tmp/converted_mattermost_data
- ./manage.py import '' /tmp/converted_mattermost_data/<team-name>
- ./scripts/start-server
- ```
-
- Alternatively, to import into a custom subdomain, run:
-
- ```
- cd /tmp
- tar -xf mattermost_data.tar.gz
- cd /home/zulip/deployments/current
- ./scripts/stop-server
- ./manage.py convert_mattermost_data /tmp/mattermost_data --output /tmp/converted_mattermost_data
- ./manage.py import <subdomain> /tmp/converted_mattermost_data/<team-name>
- ./scripts/start-server
- ```
+ {!import-self-hosted-server-tips.md!}
+
+ ```
+ cd /tmp
+ tar -xf mattermost_data.tar.gz
+ cd /home/zulip/deployments/current
+ ./scripts/stop-server
+ ./manage.py convert_mattermost_data /tmp/mattermost_data --output /tmp/converted_mattermost_data
+ ./manage.py import '' /tmp/converted_mattermost_data/<team-name>
+ ./scripts/start-server
+ ```
+
+ Alternatively, to import into a custom subdomain, run:
+
+ ```
+ cd /tmp
+ tar -xf mattermost_data.tar.gz
+ cd /home/zulip/deployments/current
+ ./scripts/stop-server
+ ./manage.py convert_mattermost_data /tmp/mattermost_data --output /tmp/converted_mattermost_data
+ ./manage.py import <subdomain> /tmp/converted_mattermost_data/<team-name>
+ ./scripts/start-server
+ ```
1. Follow [step 4](https://zulip.readthedocs.io/en/stable/production/install.html#step-4-configure-and-use)
of the guide for [installing a new Zulip
@@ -224,29 +224,29 @@ Replace `<username>` and `<server_ip>` with the appropriate values below.
(`EXTERNAL_HOST`) of the Zulip installation, run the following commands,
replacing `<team-name>` with the name of the Mattermost team you want to import.
- {!import-self-hosted-server-tips.md!}
-
- ```
- unzip latest_export.zip -d /tmp/my_mattermost_export
- mv /tmp/my_mattermost_export/import.jsonl /tmp/my_mattermost_export/export.json
- cd /home/zulip/deployments/current
- ./scripts/stop-server
- ./manage.py convert_mattermost_data /tmp/my_mattermost_export --output /tmp/converted_mattermost_data
- ./manage.py import '' /tmp/converted_mattermost_data/<team-name>
- ./scripts/start-server
- ```
-
- Alternatively, to import into a custom subdomain, run:
-
- ```
- unzip latest_export.zip -d /tmp/my_mattermost_export
- mv /tmp/my_mattermost_export/import.jsonl /tmp/my_mattermost_export/export.json
- cd /home/zulip/deployments/current
- ./scripts/stop-server
- ./manage.py convert_mattermost_data /tmp/my_mattermost_export --output /tmp/converted_mattermost_data
- ./manage.py import <subdomain> /tmp/converted_mattermost_data/<team-name>
- ./scripts/start-server
- ```
+ {!import-self-hosted-server-tips.md!}
+
+ ```
+ unzip latest_export.zip -d /tmp/my_mattermost_export
+ mv /tmp/my_mattermost_export/import.jsonl /tmp/my_mattermost_export/export.json
+ cd /home/zulip/deployments/current
+ ./scripts/stop-server
+ ./manage.py convert_mattermost_data /tmp/my_mattermost_export --output /tmp/converted_mattermost_data
+ ./manage.py import '' /tmp/converted_mattermost_data/<team-name>
+ ./scripts/start-server
+ ```
+
+ Alternatively, to import into a custom subdomain, run:
+
+ ```
+ unzip latest_export.zip -d /tmp/my_mattermost_export
+ mv /tmp/my_mattermost_export/import.jsonl /tmp/my_mattermost_export/export.json
+ cd /home/zulip/deployments/current
+ ./scripts/stop-server
+ ./manage.py convert_mattermost_data /tmp/my_mattermost_export --output /tmp/converted_mattermost_data
+ ./manage.py import <subdomain> /tmp/converted_mattermost_data/<team-name>
+ ./scripts/start-server
+ ```
1. Follow [step 4](https://zulip.readthedocs.io/en/stable/production/install.html#step-4-configure-and-use)
of the guide for [installing a new Zulip
diff --git a/help/import-from-rocketchat.md b/help/import-from-rocketchat.md
index b2331e22da4..b003b22812c 100644
--- a/help/import-from-rocketchat.md
+++ b/help/import-from-rocketchat.md
@@ -72,25 +72,25 @@ be your **exported data** file in the instructions below.
(`EXTERNAL_HOST`) of the Zulip installation, run the following
commands.
- {!import-self-hosted-server-tips.md!}
-
- ```
- cd /home/zulip/deployments/current
- ./scripts/stop-server
- ./manage.py convert_rocketchat_data /tmp/rocketchat_data --output /tmp/converted_rocketchat_data
- ./manage.py import '' /tmp/converted_rocketchat_data
- ./scripts/start-server
- ```
-
- Alternatively, to import into a custom subdomain, run:
-
- ```
- cd /home/zulip/deployments/current
- ./scripts/stop-server
- ./manage.py convert_rocketchat_data /tmp/rocketchat_data --output /tmp/converted_rocketchat_data
- ./manage.py import <subdomain> /tmp/converted_rocketchat_data
- ./scripts/start-server
- ```
+ {!import-self-hosted-server-tips.md!}
+
+ ```
+ cd /home/zulip/deployments/current
+ ./scripts/stop-server
+ ./manage.py convert_rocketchat_data /tmp/rocketchat_data --output /tmp/converted_rocketchat_data
+ ./manage.py import '' /tmp/converted_rocketchat_data
+ ./scripts/start-server
+ ```
+
+ Alternatively, to import into a custom subdomain, run:
+
+ ```
+ cd /home/zulip/deployments/current
+ ./scripts/stop-server
+ ./manage.py convert_rocketchat_data /tmp/rocketchat_data --output /tmp/converted_rocketchat_data
+ ./manage.py import <subdomain> /tmp/converted_rocketchat_data
+ ./scripts/start-server
+ ```
1. Follow [step 4](https://zulip.readthedocs.io/en/stable/production/install.html#step-4-configure-and-use)
of the guide for [installing a new Zulip
diff --git a/help/import-from-slack.md b/help/import-from-slack.md
index 8740ae1b9d5..649cbbe0631 100644
--- a/help/import-from-slack.md
+++ b/help/import-from-slack.md
@@ -113,25 +113,25 @@ in order to export direct message data.
(`EXTERNAL_HOST`) of the Zulip installation, run the following
commands, replacing `<token>` with your Slack **Bot User OAuth Token**.
- {!import-self-hosted-server-tips.md!}
-
- ```
- cd /home/zulip/deployments/current
- ./scripts/stop-server
- ./manage.py convert_slack_data /tmp/slack_data.zip --token <token> --output /tmp/converted_slack_data
- ./manage.py import '' /tmp/converted_slack_data
- ./scripts/start-server
- ```
-
- Alternatively, to import into a custom subdomain, run:
-
- ```
- cd /home/zulip/deployments/current
- ./scripts/stop-server
- ./manage.py convert_slack_data /tmp/slack_data.zip --token <token> --output /tmp/converted_slack_data
- ./manage.py import <subdomain> /tmp/converted_slack_data
- ./scripts/start-server
- ```
+ {!import-self-hosted-server-tips.md!}
+
+ ```
+ cd /home/zulip/deployments/current
+ ./scripts/stop-server
+ ./manage.py convert_slack_data /tmp/slack_data.zip --token <token> --output /tmp/converted_slack_data
+ ./manage.py import '' /tmp/converted_slack_data
+ ./scripts/start-server
+ ```
+
+ Alternatively, to import into a custom subdomain, run:
+
+ ```
+ cd /home/zulip/deployments/current
+ ./scripts/stop-server
+ ./manage.py convert_slack_data /tmp/slack_data.zip --token <token> --output /tmp/converted_slack_data
+ ./manage.py import <subdomain> /tmp/converted_slack_data
+ ./scripts/start-server
+ ```
1. Follow [step 4](https://zulip.readthedocs.io/en/stable/production/install.html#step-4-configure-and-use)
of the guide for [installing a new Zulip