-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Fixed documentation download links based on latest version #130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 3 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
77c5b06
Fixed documentation based on latest release
MoienTajik 42621f7
Fixed google-cloud documentation steps order
MoienTajik 68a4737
Edited docs based on the latest release versions
MoienTajik 54d5b33
Make docs more dynamic based on Releases
MoienTajik 4417739
Resolved merge conflicts
MoienTajik 1bfdd3e
Changed ordered list to unordered list
MoienTajik File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,10 +32,14 @@ If you're just starting out, we recommend [installing code-server locally](../.. | |
``` | ||
>example: `ssh -i "/Users/John/Downloads/TestInstance.pem" [email protected]` | ||
- You should see a prompt for your EC2 instance like so<img src="../../assets/aws_ubuntu.png"> | ||
- At this point it is time to download the `code-server` binary. We will of course want the linux version. Make sure you copy the link for the latest linux version on our [releases page](https://github.com/codercom/code-server/releases) | ||
- With the URL in the clipboard, run: | ||
- At this point it is time to download the `code-server` binary. We will of course want the linux version. | ||
- Find and download the latest Linux release from this URL: | ||
``` | ||
wget https://github.com/codercom/code-server/releases/download/0.1.4/code-server-linux | ||
https://github.com/codercom/code-server/releases/latest | ||
``` | ||
- Extract the downloaded tar.gz file with this command, for example: | ||
``` | ||
tar -xvzf code-server-1.31.1-100-linux-x64.tar.gz | ||
``` | ||
- If you run into any permission errors, make the binary executable by running: | ||
``` | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,9 +16,13 @@ If you're just starting out, we recommend [installing code-server locally](../.. | |
- Open a terminal on your computer and SSH into your instance | ||
> example: ssh [email protected] | ||
- 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 | ||
- In the shell run the below command with the URL from your clipboard | ||
- Find and download the latest Linux release from this URL: | ||
``` | ||
wget https://github.com/codercom/code-server/releases/download/0.1.4/code-server-linux | ||
https://github.com/codercom/code-server/releases/latest | ||
``` | ||
- Extract the downloaded tar.gz file with this command, for example: | ||
``` | ||
tar -xvzf code-server-1.31.1-100-linux-x64.tar.gz | ||
MoienTajik marked this conversation as resolved.
Show resolved
Hide resolved
|
||
``` | ||
- If you run into any permission errors when attempting to run the binary: | ||
``` | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,23 +24,38 @@ If you're just starting out, we recommend [installing code-server locally](../.. | |
``` | ||
gcloud compute ssh --zone [region] [instance name] | ||
``` | ||
2. Download the binary using the link we copied to clipboard | ||
|
||
2. Find and download the latest Linux release from this URL: | ||
``` | ||
https://github.com/codercom/code-server/releases/latest | ||
``` | ||
|
||
3. Extract the downloaded tar.gz file with this command, for example: | ||
``` | ||
wget https://github.com/codercom/code-server/releases/download/0.1.4/code-server-linux | ||
tar -xvzf code-server-1.31.1-100-linux-x64.tar.gz | ||
``` | ||
3. Make the binary executable if you run into any errors regarding permission: | ||
``` | ||
chmod +x code-server-linux | ||
``` | ||
|
||
4. Make the binary executable if you run into any errors regarding permission: | ||
``` | ||
chmod +x code-server-linux | ||
MoienTajik marked this conversation as resolved.
Show resolved
Hide resolved
|
||
``` | ||
|
||
> To ensure the connection between you and your server is encrypted view our guide on [securing your setup](../security/ssl.md) | ||
4. Start the code-server | ||
|
||
5. Start the code-server | ||
``` | ||
sudo ./code-server-linux -p 80 | ||
``` | ||
|
||
> For instructions on how to keep the server running after you end your SSH session please checkout [how to use systemd](https://www.linode.com/docs/quick-answers/linux/start-service-at-boot/) to start linux based services if they are killed | ||
5. Access code-server from the public IP of your Google Cloud instance we noted earlier in your browser. | ||
|
||
6. Access code-server from the public IP of your Google Cloud instance we noted earlier in your browser. | ||
> example: 32.32.32.234 | ||
6. You will be greeted with this page. Code-server is using a self-signed SSL certificate for easy setup. To proceed to the IDE, click **"Advanced"**<img src ="../../assets/chrome_warning.png"> | ||
7. Then click **"proceed anyway"**<img src="../../assets/chrome_confirm.png"> | ||
|
||
7. You will be greeted with this page. Code-server is using a self-signed SSL certificate for easy setup. To proceed to the IDE, click **"Advanced"**<img src ="../../assets/chrome_warning.png"> | ||
|
||
8. 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:[email protected]?subject=Self-hosted%20quickstart%20guide). |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.