From 7eb1a08c5a72cc7defce1f8d1fc5fca619d39911 Mon Sep 17 00:00:00 2001 From: The AliX Legend Date: Wed, 15 Dec 2021 03:18:55 +0500 Subject: [PATCH 1/4] Add Instructions To Install 100% In Android (#4536) * Add Instructions To Install 100% In Android Thx * Update android.md Co-authored-by: Joe Previte --- docs/android.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 docs/android.md diff --git a/docs/android.md b/docs/android.md new file mode 100644 index 000000000000..51160def5426 --- /dev/null +++ b/docs/android.md @@ -0,0 +1,17 @@ +# Instructions For Android Phone Using UserLand +πŸ“±-Install Userland From Playstore First +πŸ“±-Install Ubuntu VM +πŸ“±-Start It +πŸ“±-Install NodeJS, Curl And Yarn Using `sudo apt install nodejs npm yarn curl -y` +πŸ“±-Install NVM : +``` +curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash +``` +πŸ“±-Then Exit Terminal Using `exit` and then reopen terminal +πŸ“±Then Run This To Install And Use NodeJS 14 +``` +nvm install 14 +nvm use 14 +``` +πŸ“±-Then Simple Run `npm i code-server` +# It Will Install Code Server 100% Inside Your Device From 736d1c4bac1b83739b0ebd8d60d7c1cdb15b16d7 Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Tue, 14 Dec 2021 15:27:39 -0700 Subject: [PATCH 2/4] docs: clean up android.md --- docs/android.md | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/docs/android.md b/docs/android.md index 51160def5426..9e2e33cd47f7 100644 --- a/docs/android.md +++ b/docs/android.md @@ -1,17 +1,23 @@ -# Instructions For Android Phone Using UserLand -πŸ“±-Install Userland From Playstore First -πŸ“±-Install Ubuntu VM -πŸ“±-Start It -πŸ“±-Install NodeJS, Curl And Yarn Using `sudo apt install nodejs npm yarn curl -y` -πŸ“±-Install NVM : -``` +# Running code-server using UserLAnd + +1. Install UserLAnd from [Google Play](https://play.google.com/store/apps/details?id=tech.ula&hl=en_US&gl=US) +2. Install an Ubuntu VM +3. Start app +4. Install Node.js, `curl` and `yarn` using `sudo apt install nodejs npm yarn curl -y` +5. Install `nvm`: + +```shell curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash ``` -πŸ“±-Then Exit Terminal Using `exit` and then reopen terminal -πŸ“±Then Run This To Install And Use NodeJS 14 -``` -nvm install 14 + +6. Exit the terminal using `exit` and then reopen the terminal +7. Install and use Node.js 14: + +```shell +nvm install 14 nvm use 14 ``` -πŸ“±-Then Simple Run `npm i code-server` -# It Will Install Code Server 100% Inside Your Device + +8. Install code-server globally on device with: `npm i -g code-server +9. Run code-server with `code-server` +10. Access on localhost:8080 in your browser From 469e92e95d7c2da3441e84cffcaf882073d72f20 Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Tue, 14 Dec 2021 15:27:52 -0700 Subject: [PATCH 3/4] docs: add android to manifest --- docs/manifest.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/manifest.json b/docs/manifest.json index d883210bdb89..0fef16c6dffd 100644 --- a/docs/manifest.json +++ b/docs/manifest.json @@ -56,6 +56,11 @@ "title": "iOS", "description": "How to use code-server on iOS with iSH.", "path": "./ios.md" + }, + { + "title": "Android", + "description": "How to run code-server on an Android device using UserLAnd.", + "path": "./android.md" } ] }, From 88bfd1b330193c7fa21e7db1f06c8713992e0860 Mon Sep 17 00:00:00 2001 From: Asher Date: Wed, 15 Dec 2021 13:48:13 -0600 Subject: [PATCH 4/4] Add missing backtick --- docs/android.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/android.md b/docs/android.md index 9e2e33cd47f7..41fd92dbe1f6 100644 --- a/docs/android.md +++ b/docs/android.md @@ -18,6 +18,6 @@ nvm install 14 nvm use 14 ``` -8. Install code-server globally on device with: `npm i -g code-server +8. Install code-server globally on device with: `npm i -g code-server` 9. Run code-server with `code-server` 10. Access on localhost:8080 in your browser