1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2024-12-28 13:15:25 +00:00

Merge pull request #634 from cdr/rename

Rename codercom/code-server to cdr/code-server
This commit is contained in:
Anmol Sethi 2019-05-02 12:07:48 -04:00 committed by GitHub
commit cf399ef6ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 23 additions and 23 deletions

View File

@ -40,7 +40,7 @@ deploy:
- release/*.tar.gz - release/*.tar.gz
- release/*.zip - release/*.zip
on: on:
repo: codercom/code-server repo: cdr/code-server
branch: master branch: master
cache: cache:
yarn: true yarn: true

View File

@ -2,14 +2,14 @@
[!["Open Issues"](https://img.shields.io/github/issues-raw/cdr/code-server.svg)](https://github.com/cdr/code-server/issues) [!["Open Issues"](https://img.shields.io/github/issues-raw/cdr/code-server.svg)](https://github.com/cdr/code-server/issues)
[!["Latest Release"](https://img.shields.io/github/release/cdr/code-server.svg)](https://github.com/cdr/code-server/releases/latest) [!["Latest Release"](https://img.shields.io/github/release/cdr/code-server.svg)](https://github.com/cdr/code-server/releases/latest)
[![MIT license](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/codercom/code-server/blob/master/LICENSE) [![MIT license](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/cdr/code-server/blob/master/LICENSE)
[![Discord](https://img.shields.io/discord/463752820026376202.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2)](https://discord.gg/zxSwN8Z) [![Discord](https://img.shields.io/discord/463752820026376202.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2)](https://discord.gg/zxSwN8Z)
`code-server` is [VS Code](https://github.com/Microsoft/vscode) running on a remote server, accessible through the browser. `code-server` is [VS Code](https://github.com/Microsoft/vscode) running on a remote server, accessible through the browser.
Try it out: Try it out:
```bash ```bash
docker run -it -p 127.0.0.1:8443:8443 -v "${PWD}:/home/coder/project" codercom/code-server --allow-http --no-auth docker run -it -p 127.0.0.1:8443:8443 -v "${PWD}:/home/coder/project" cdr/code-server --allow-http --no-auth
``` ```
- Code on your Chromebook, tablet, and laptop with a consistent dev environment. - Code on your Chromebook, tablet, and laptop with a consistent dev environment.
@ -33,7 +33,7 @@ See docker oneliner mentioned above. Dockerfile is at [/Dockerfile](/Dockerfile)
### Binaries ### Binaries
1. [Download a binary](https://github.com/codercom/code-server/releases) (Linux and OS X supported. Windows coming soon) 1. [Download a binary](https://github.com/cdr/code-server/releases) (Linux and OS X supported. Windows coming soon)
2. Start the binary with the project directory as the first argument 2. Start the binary with the project directory as the first argument
``` ```

View File

@ -35,11 +35,11 @@ If you're just starting out, we recommend [installing code-server locally](../..
- At this point it is time to download the `code-server` binary. We will of course want the linux version. - At this point it is time to download the `code-server` binary. We will of course want the linux version.
- Find the latest Linux release from this URL: - Find the latest Linux release from this URL:
``` ```
https://github.com/codercom/code-server/releases/latest https://github.com/cdr/code-server/releases/latest
``` ```
- Replace {version} in the following command with the version found on the releases page and run it (or just copy the download URL from the releases page): - Replace {version} in the following command with the version found on the releases page and run it (or just copy the download URL from the releases page):
``` ```
wget https://github.com/codercom/code-server/releases/download/{version}/code-server-{version}-linux-x64.tar.gz wget https://github.com/cdr/code-server/releases/download/{version}/code-server-{version}-linux-x64.tar.gz
``` ```
- Extract the downloaded tar.gz file with this command, for example: - Extract the downloaded tar.gz file with this command, for example:
``` ```
@ -66,4 +66,4 @@ If you're just starting out, we recommend [installing code-server locally](../..
> The `-p 80` flag is necessary in order to make the IDE accessible from the public IP of your instance (also available from the description in the instances page. > The `-p 80` flag is necessary in order to make the IDE accessible from the public IP of your instance (also available from the description in the instances page.
--- ---
> NOTE: If you get stuck or need help, [file an issue](https://github.com/codercom/code-server/issues/new?&title=Improve+self-hosted+quickstart+guide), [tweet (@coderhq)](https://twitter.com/coderhq) or [email](mailto:support@coder.com?subject=Self-hosted%20quickstart%20guide). > NOTE: If you get stuck or need help, [file an issue](https://github.com/cdr/code-server/issues/new?&title=Improve+self-hosted+quickstart+guide), [tweet (@coderhq)](https://twitter.com/coderhq) or [email](mailto:support@coder.com?subject=Self-hosted%20quickstart%20guide).

View File

@ -15,14 +15,14 @@ If you're just starting out, we recommend [installing code-server locally](../..
- Launch your instance - Launch your instance
- Open a terminal on your computer and SSH into your instance - Open a terminal on your computer and SSH into your instance
> example: ssh root@203.0.113.0 > example: ssh root@203.0.113.0
- Once in the SSH session, visit code-server [releases page](https://github.com/codercom/code-server/releases/) and copy the link to the download for the latest linux release - Once in the SSH session, visit code-server [releases page](https://github.com/cdr/code-server/releases/) and copy the link to the download for the latest linux release
- Find the latest Linux release from this URL: - Find the latest Linux release from this URL:
``` ```
https://github.com/codercom/code-server/releases/latest https://github.com/cdr/code-server/releases/latest
``` ```
- Replace {version} in the following command with the version found on the releases page and run it (or just copy the download URL from the releases page): - Replace {version} in the following command with the version found on the releases page and run it (or just copy the download URL from the releases page):
``` ```
wget https://github.com/codercom/code-server/releases/download/{version}/code-server-{version}-linux-x64.tar.gz wget https://github.com/cdr/code-server/releases/download/{version}/code-server-{version}-linux-x64.tar.gz
``` ```
- Extract the downloaded tar.gz file with this command, for example: - Extract the downloaded tar.gz file with this command, for example:
``` ```
@ -46,4 +46,4 @@ If you're just starting out, we recommend [installing code-server locally](../..
- Then click **"proceed anyway"**<img src="../../assets/chrome_confirm.png"> - Then click **"proceed anyway"**<img src="../../assets/chrome_confirm.png">
--- ---
> NOTE: If you get stuck or need help, [file an issue](https://github.com/codercom/code-server/issues/new?&title=Improve+self-hosted+quickstart+guide), [tweet (@coderhq)](https://twitter.com/coderhq) or [email](mailto:support@coder.com?subject=Self-hosted%20quickstart%20guide). > NOTE: If you get stuck or need help, [file an issue](https://github.com/cdr/code-server/issues/new?&title=Improve+self-hosted+quickstart+guide), [tweet (@coderhq)](https://twitter.com/coderhq) or [email](mailto:support@coder.com?subject=Self-hosted%20quickstart%20guide).

View File

@ -14,7 +14,7 @@ If you're just starting out, we recommend [installing code-server locally](../..
- Choose Ubuntu 16.04 LTS as your boot disk - Choose Ubuntu 16.04 LTS as your boot disk
- Check the boxes for **Allow HTTP traffic** and **Allow HTTPS traffic** in the **Firewall** section - Check the boxes for **Allow HTTP traffic** and **Allow HTTPS traffic** in the **Firewall** section
- Create your VM, and **take note** of its public IP address. - Create your VM, and **take note** of its public IP address.
- Copy the link to download the latest Linux binary from our [releases page](https://github.com/codercom/code-server/releases) - Copy the link to download the latest Linux binary from our [releases page](https://github.com/cdr/code-server/releases)
--- ---
@ -27,12 +27,12 @@ gcloud compute ssh --zone [region] [instance name]
- Find the latest Linux release from this URL: - Find the latest Linux release from this URL:
``` ```
https://github.com/codercom/code-server/releases/latest https://github.com/cdr/code-server/releases/latest
``` ```
- Replace {version} in the following command with the version found on the releases page and run it (or just copy the download URL from the releases page): - Replace {version} in the following command with the version found on the releases page and run it (or just copy the download URL from the releases page):
``` ```
wget https://github.com/codercom/code-server/releases/download/{version}/code-server-{version}-linux-x64.tar.gz wget https://github.com/cdr/code-server/releases/download/{version}/code-server-{version}-linux-x64.tar.gz
``` ```
- Extract the downloaded tar.gz file with this command, for example: - Extract the downloaded tar.gz file with this command, for example:
@ -68,4 +68,4 @@ sudo ./code-server -p 80
--- ---
> NOTE: If you get stuck or need help, [file an issue](https://github.com/codercom/code-server/issues/new?&title=Improve+self-hosted+quickstart+guide), [tweet (@coderhq)](https://twitter.com/coderhq) or [email](mailto:support@coder.com?subject=Self-hosted%20quickstart%20guide). > NOTE: If you get stuck or need help, [file an issue](https://github.com/cdr/code-server/issues/new?&title=Improve+self-hosted+quickstart+guide), [tweet (@coderhq)](https://twitter.com/coderhq) or [email](mailto:support@coder.com?subject=Self-hosted%20quickstart%20guide).

View File

@ -4,7 +4,7 @@
## Quickstart Guide ## Quickstart Guide
> NOTE: If you get stuck or need help, [file an issue](https://github.com/codercom/code-server/issues/new?&title=Improve+self-hosted+quickstart+guide), [tweet (@coderhq)](https://twitter.com/coderhq) or [email](mailto:support@coder.com?subject=Self-hosted%20quickstart%20guide). > NOTE: If you get stuck or need help, [file an issue](https://github.com/cdr/code-server/issues/new?&title=Improve+self-hosted+quickstart+guide), [tweet (@coderhq)](https://twitter.com/coderhq) or [email](mailto:support@coder.com?subject=Self-hosted%20quickstart%20guide).
This document pertains to Coder specific implementations of VS Code. For documentation on how to use VS Code itself, please refer to the official [documentation for VS Code](https://code.visualstudio.com/docs) This document pertains to Coder specific implementations of VS Code. For documentation on how to use VS Code itself, please refer to the official [documentation for VS Code](https://code.visualstudio.com/docs)
@ -17,7 +17,7 @@ It takes just a few minutes to get your own self-hosted server running. If you'v
--> -->
1. Visit [the releases](https://github.com/codercom/code-server/releases) page and download the latest cli for your operating system 1. Visit [the releases](https://github.com/cdr/code-server/releases) page and download the latest cli for your operating system
2. Double click the executable to run in the current directory 2. Double click the executable to run in the current directory
3. Copy the password that appears in the cli<img src="../assets/cli.png"> 3. Copy the password that appears in the cli<img src="../assets/cli.png">
4. In your browser navigate to `localhost:8443` 4. In your browser navigate to `localhost:8443`

View File

@ -1,6 +1,6 @@
{ {
"name": "@coder/code-server", "name": "@coder/code-server",
"repository": "https://github.com/codercom/code-server", "repository": "https://github.com/cdr/code-server",
"author": "Coder", "author": "Coder",
"license": "MIT", "license": "MIT",
"description": "Run VS Code remotely.", "description": "Run VS Code remotely.",

View File

@ -190,7 +190,7 @@ const bold = (text: string | number): string | number => {
} }
// TODO: fill in appropriate doc url // TODO: fill in appropriate doc url
logger.info("Additional documentation: http://github.com/codercom/code-server"); logger.info("Additional documentation: http://github.com/cdr/code-server");
logger.info("Initializing", field("data-dir", dataDir), field("extensions-dir", extensionsDir), field("working-dir", workingDir), field("log-dir", logDir)); logger.info("Initializing", field("data-dir", dataDir), field("extensions-dir", extensionsDir), field("working-dir", workingDir), field("log-dir", logDir));
const sharedProcess = new SharedProcess(dataDir, extensionsDir, builtInExtensionsDir); const sharedProcess = new SharedProcess(dataDir, extensionsDir, builtInExtensionsDir);
const sendSharedProcessReady = (socket: WebSocket): void => { const sendSharedProcessReady = (socket: WebSocket): void => {
@ -298,7 +298,7 @@ const bold = (text: string | number): string | number => {
if (!options.certKey && !options.cert) { if (!options.certKey && !options.cert) {
logger.warn("No certificate specified. \u001B[1mThis could be insecure."); logger.warn("No certificate specified. \u001B[1mThis could be insecure.");
// TODO: fill in appropriate doc url // TODO: fill in appropriate doc url
logger.warn("Documentation on securing your setup: https://github.com/codercom/code-server/blob/master/doc/security/ssl.md"); logger.warn("Documentation on securing your setup: https://github.com/cdr/code-server/blob/master/doc/security/ssl.md");
} }
if (!options.noAuth && !usingCustomPassword) { if (!options.noAuth && !usingCustomPassword) {

View File

@ -11,7 +11,7 @@ class Product implements IProductConfiguration {
public introductoryVideosUrl = "https://code.visualstudio.com/docs/getstarted/introvideos"; public introductoryVideosUrl = "https://code.visualstudio.com/docs/getstarted/introvideos";
public tipsAndTricksUrl = "https://code.visualstudio.com/docs/getstarted/tips-and-tricks"; public tipsAndTricksUrl = "https://code.visualstudio.com/docs/getstarted/tips-and-tricks";
public twitterUrl = "https://twitter.com/code"; public twitterUrl = "https://twitter.com/code";
public licenseUrl = "https://github.com/codercom/code-server/blob/master/LICENSE"; public licenseUrl = "https://github.com/cdr/code-server/blob/master/LICENSE";
public aiConfig = process.env.DISABLE_TELEMETRY ? undefined! : { public aiConfig = process.env.DISABLE_TELEMETRY ? undefined! : {
// Only needed so vscode can see that content exists for this value. // Only needed so vscode can see that content exists for this value.
// We override the application insights module. // We override the application insights module.