![]() |
Free VS Code Workaround - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111) +--- Forum: Pinebook Pro Tutorials (https://forum.pine64.org/forumdisplay.php?fid=117) +--- Thread: Free VS Code Workaround (/showthread.php?tid=8895) |
Free VS Code Workaround - pete - 01-23-2020 Hey guys, I figure this may be interesting to a few folks so wanted to share. New to ARM and finding things can be a little trickier than I expected, so when I was setting up a dev environment I wanted to keep things simple and have my code compiled and running in an x64 machine. So long story short I ran up an always free remote VPS and installed a virtual IDE there I can get at through the browser which will then be accessible across any of the images I boot on the PBP ![]() Quick steps are: 1) Get a free VPS - currently Oracle will give anyone two free linux boxes (plus DB plus other stuff) forever, so I like this option (cloud.oracle.com/free) although I'm sure other options are available. 2) SSH into the remote box and install docker | docker-compose 3) Setup an a record on your domain e.g. vs.*** points to server IP. 4) Here's the docker compose setup I use to run the container with SSL behind an NGINX reverse proxy. Code: version: '2' e' voila! Ideally I was going to run the head melted vs code locally and then just ssh to the server as a remote host, but this currently isn't supported in the hed melted version as the feature is pre-release in VS code.... If anyone knows the workaround to that I'd be interested - as that feels like a cleaner approach! RE: Free VS Code Workaround - clover - 01-23-2020 Head melted works fine for me: https://forum.pine64.org/showthread.php?tid=8598 RE: Free VS Code Workaround - pete - 01-23-2020 (01-23-2020, 07:53 AM)clover Wrote: Head melted works fine for me: https://forum.pine64.org/showthread.php?tid=8598 Can you use the remote-SSH extensions? These load but don't work on my Manjaro & head melted install? |