From e3402e3d73b9edf65e6fc410101ade395db0120d Mon Sep 17 00:00:00 2001 From: Ben Potter Date: Mon, 30 Aug 2021 13:33:48 -0500 Subject: [PATCH 1/4] slightly rework docs --- cli/README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cli/README.md b/cli/README.md index c012d14d..02f1689a 100644 --- a/cli/README.md +++ b/cli/README.md @@ -1,7 +1,11 @@ -# dcs-cli +# deploy-code-server cli Provision a code-server instance from your terminal. +## Instructions + +npm package coming soon + ## Development ```console @@ -10,5 +14,6 @@ cd deploy-code-server/cli npm install && npm run build:watch # in another session: +cd deploy-code-server/cli node bin/index.js ``` From 1750cc6542a545541c15ee73e5251f80634d5b0c Mon Sep 17 00:00:00 2001 From: Ben Potter Date: Mon, 30 Aug 2021 13:58:12 -0500 Subject: [PATCH 2/4] fix path --- cli/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/README.md b/cli/README.md index 02f1689a..9a621304 100644 --- a/cli/README.md +++ b/cli/README.md @@ -15,5 +15,5 @@ npm install && npm run build:watch # in another session: cd deploy-code-server/cli -node bin/index.js +node bin/src/index.js ``` From 3e21762e7da491cbfe0e37e3fb63c068e49d87c4 Mon Sep 17 00:00:00 2001 From: Ben Potter Date: Mon, 30 Aug 2021 14:03:39 -0500 Subject: [PATCH 3/4] specify provider --- cli/src/deploys/deployDigitalOcean.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/cli/src/deploys/deployDigitalOcean.ts b/cli/src/deploys/deployDigitalOcean.ts index 06bb03a7..6854dacd 100644 --- a/cli/src/deploys/deployDigitalOcean.ts +++ b/cli/src/deploys/deployDigitalOcean.ts @@ -90,9 +90,15 @@ const waitUntilCodeServerIsLive = (droplet: Droplet, token: string) => { export const deployDigitalOcean = async () => { let spinner: ora.Ora; + console.log( + chalk.yellow( + "Using provider: DigitalOcean", + ) + ); + console.log( chalk.blue( - "You can create a token on", + "Don't have a token? Create one at", chalk.bold("https://cloud.digitalocean.com/account/api/tokens") ) ); From bd61c0e00a7396ad80594fc80e6c183362734935 Mon Sep 17 00:00:00 2001 From: Ben Potter Date: Mon, 30 Aug 2021 14:03:45 -0500 Subject: [PATCH 4/4] change dev scripts --- cli/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cli/README.md b/cli/README.md index 9a621304..8a186588 100644 --- a/cli/README.md +++ b/cli/README.md @@ -4,7 +4,9 @@ Provision a code-server instance from your terminal. ## Instructions -npm package coming soon +```sh +npx @coder/deploy-code-server +``` ## Development pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy