PINE64
VS Code running on PineTab - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PineTab (https://forum.pine64.org/forumdisplay.php?fid=140)
+--- Forum: PineTab Software (https://forum.pine64.org/forumdisplay.php?fid=142)
+--- Thread: VS Code running on PineTab (/showthread.php?tid=11416)



VS Code running on PineTab - brentashley - 09-12-2020

   

... using vs code server and the browser.

> wget https://github.com/cdr/code-server/releases/download/v3.5.0/code-server-3.5.0-linux-arm64.tar.gz
> tar -zxvf code-server-3.5.0-linux-arm64.tar.gz
> cd code-server-3.5.0-linux-arm64/
> ./code-server --auth none

browse to 127.0.0.1:8080


RE: VS Code running on PineTab - m.alizade7 - 09-12-2020

(09-12-2020, 01:29 PM)brentashley Wrote: ... using vs code server and the browser.

> wget https://github.com/cdr/code-server/releases/download/v3.5.0/code-server-3.5.0-linux-arm64.tar.gz
> tar -zxvf code-server-3.5.0-linux-arm64.tar.gz
> cd code-server-3.5.0-linux-arm64/
> ./code-server --auth none

browse to 127.0.0.1:8080

Do i need to do some steps before this? Because i am getting failures.


RE: VS Code running on PineTab - brentashley - 09-12-2020

(09-12-2020, 02:48 PM)m.alizade7 Wrote: Do i need to do some steps before this? Because i am getting failures.

What failures are you getting? Just worked for me, not sure if other changes I had made prepared it to work.

if you cut and pasted, you may have got the abbreviated link that the forum software created

the full link is as below (but without the space)


https://  github.com/cdr/code-server/releases/download/v3.5.0/code-server-3.5.0-linux-arm64.tar.gz


RE: VS Code running on PineTab - Lex-2008 - 09-13-2020

thanks for the hint! I've never heard about this code-server, but it looks pretty interesting for my plans for "remote development". How's the performance? Have you compared this setup to running the code-server server part on a remote machine, and accessing it via a browser?


RE: VS Code running on PineTab - brentashley - 09-13-2020

(09-13-2020, 02:31 PM)Lex-2008 Wrote: thanks for the hint! I've never heard about this code-server, but it looks pretty interesting for my plans for "remote development". How's the performance? Have you compared this setup to running the code-server server part on a remote machine, and accessing it via a browser?

I find it extremely responsive, even with plugins and doing full debugging.

It's really great to use in hard to reach places.  I have even used it when using the Google Cloud Console vm in GCP.


RE: VS Code running on PineTab - m.alizade7 - 09-15-2020

(09-12-2020, 04:58 PM)brentashley Wrote:
(09-12-2020, 02:48 PM)m.alizade7 Wrote: Do i need to do some steps before this? Because i am getting failures.

What failures are you getting? Just worked for me, not sure if other changes I had made prepared it to work.

if you cut and pasted, you may have got the abbreviated link that the forum software created

the full link is as below (but without the space)


https://  github.com/cdr/code-server/releases/download/v3.5.0/code-server-3.5.0-linux-arm64.tar.gz

 I am getting No Authentication & Not serving HTTPS.


RE: VS Code running on PineTab - brentashley - 09-15-2020

(09-15-2020, 03:42 AM)m.alizade7 Wrote:
(09-12-2020, 04:58 PM)brentashley Wrote:
(09-12-2020, 02:48 PM)m.alizade7 Wrote: Do i need to do some steps before this? Because i am getting failures.

What failures are you getting? Just worked for me, not sure if other changes I had made prepared it to work.

if you cut and pasted, you may have got the abbreviated link that the forum software created

the full link is as below (but without the space)


https://  github.com/cdr/code-server/releases/download/v3.5.0/code-server-3.5.0-linux-arm64.tar.gz

 I am getting No Authentication & Not serving HTTPS.


That sounds like what the server tells you when it is working properly (we told it to use no authentication did not request HTTPS).  Keep that terminal window open and change to the browser, then go to 127.0.0.1:8080 and that should connect the browser to the VSCode server and bring up the editor interface.


RE: VS Code running on PineTab - m.alizade7 - 10-15-2020

(09-15-2020, 12:05 PM)brentashley Wrote:
(09-15-2020, 03:42 AM)m.alizade7 Wrote:
(09-12-2020, 04:58 PM)brentashley Wrote:
(09-12-2020, 02:48 PM)m.alizade7 Wrote: Do i need to do some steps before this? Because i am getting failures.

What failures are you getting? Just worked for me, not sure if other changes I had made prepared it to work.

if you cut and pasted, you may have got the abbreviated link that the forum software created

the full link is as below (but without the space)


https://  github.com/cdr/code-server/releases/download/v3.5.0/code-server-3.5.0-linux-arm64.tar.gz

 I am getting No Authentication & Not serving HTTPS.


That sounds like what the server tells you when it is working properly (we told it to use no authentication did not request HTTPS).  Keep that terminal window open and change to the browser, then go to 127.0.0.1:8080 and that should connect the browser to the VSCode server and bring up the editor interface.

Sorry for a late reply, but I did it today and it worked!