From 3059d72a5db7c4b4c49f0c9122facf473bd4d917 Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Wed, 15 Dec 2021 13:37:16 -0700 Subject: [PATCH] docs: add section for Android (#4621) * 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: clean up android.md * docs: add android to manifest * Add missing backtick Co-authored-by: The AliX Legend Co-authored-by: Asher Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com> --- docs/android.md | 23 +++++++++++++++++++++++ docs/manifest.json | 5 +++++ 2 files changed, 28 insertions(+) create mode 100644 docs/android.md diff --git a/docs/android.md b/docs/android.md new file mode 100644 index 000000000..41fd92dbe --- /dev/null +++ b/docs/android.md @@ -0,0 +1,23 @@ +# 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 +``` + +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 +``` + +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 diff --git a/docs/manifest.json b/docs/manifest.json index d883210bd..0fef16c6d 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" } ] },