From 0f3710aa635b6423c0a7640f866f1018f8a61cce Mon Sep 17 00:00:00 2001 From: Vaibhav Kumar <60957669+vkvbit@users.noreply.github.com> Date: Mon, 14 Aug 2023 12:58:19 +0530 Subject: [PATCH 1/3] command correction removed <> from command for easy copy and paste use for users with <> it leads to following syntax error -bash: syntax error near unexpected token `|' --- docs/platforms/azure.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/platforms/azure.md b/docs/platforms/azure.md index 318b1d8b4ceb2..e0f21d70fbfc5 100644 --- a/docs/platforms/azure.md +++ b/docs/platforms/azure.md @@ -44,7 +44,7 @@ For this instance, we will run Coder as a system service, however you can run Co In the Azure VM instance, run the following command to install Coder ```console -curl -fsSL | sh +curl -fsSL https://coder.com/install.sh | sh ``` ## Run Coder From a6e3fb496c620a2be388fdd94952ac6355b75ab7 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Mon, 14 Aug 2023 12:00:08 +0300 Subject: [PATCH 2/3] use `shell` for code blocks --- docs/platforms/azure.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/platforms/azure.md b/docs/platforms/azure.md index e0f21d70fbfc5..bbf373685dd1e 100644 --- a/docs/platforms/azure.md +++ b/docs/platforms/azure.md @@ -43,7 +43,7 @@ For this instance, we will run Coder as a system service, however you can run Co In the Azure VM instance, run the following command to install Coder -```console +```shell curl -fsSL https://coder.com/install.sh | sh ``` @@ -51,21 +51,21 @@ curl -fsSL https://coder.com/install.sh | sh Run the following command to start Coder as a system level service: -```console - sudo systemctl enable --now coder +```shell +sudo systemctl enable --now coder ``` The following command will get you information about the Coder launch service -```console - journalctl -u coder.service -b +```shell +journalctl -u coder.service -b ``` This will return a series of logs related to running Coder as a system service. Embedded in the logs is the Coder Access URL. Copy the URL and run the following command to create the first user, either on your local machine or in the instance terminal. -```console +```shell coder login ``` @@ -89,14 +89,14 @@ Coder is running as a system service, which creates the system user `coder` for Run the following commands to copy the Azure credentials and give the `coder` user access to them: -```console +```shell sudo cp -r ~/.azure /home/coder/.azure sudo chown -R coder:coder /home/coder/.azure/ ``` Navigate to the `./azure-linux` folder where you created your template and run the following command to put the template on your Coder instance. -```console +```shell coder templates create ``` From eb8921f244abeb71085678b18feff272fad1f9dc Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Sat, 19 Aug 2023 16:44:17 +0300 Subject: [PATCH 3/3] Update azure.md