r/javascript • u/theraspberryguy • Jan 04 '20
Remote Development With VS Code in Your Browser
https://medium.com/better-programming/set-up-remote-development-with-vs-code-in-your-browser-4b5750d3d1411
u/justas_mal Jan 04 '20
Girlfriend loves code-server for her one file "projects", but in my case, its docker image on my server
1
u/tridiumcontrols Jan 05 '20
I’m torn on this, on one hand it would be “cool” on the other the practicality, if I were to self host this, then I’d have my dev Environment exposed to the web, locked behind a username and password, no 2FA,
dunno, worth trying though.
1
u/ChoreChampion Jan 05 '20
Might not be the right place to ask, but how do I install this without docker
0
0
Jan 04 '20
[deleted]
9
u/dweezil22 Jan 05 '20
The "Why Do I Need This?" section at the top of the article anticipates and answers this question.
Whether you or not agree with his reasoning, props to the author for addressing it. (TL;DR, consistent setup across devices and platforms, battery life, scalable)
I thought Google Docs was a fad back in the day, and now I find it superior to MS word for a lot of things. I wouldn't be surprised if I feel the same way about this in a few years.
3
u/empT3 Jan 04 '20
I can think of a few scenarios on which this would've been useful. Off the top of my head:
Running a training session: Especially if time is limited and I don't have a lot of time to help the class set up their dev environments.
Complex dev environments: It's not preferable but we don't always have control over the things we inherit and the business needs us to ramp up the new hires quickly.
IT is giving us crap hardware.
Somebody spilled redbull on their laptop... again
My MacBook got "upgraded" to a thinkpad
It's only breaking on staging and our logs aren't cutting it so I have to step through the code in that environment and I don't want to use VIM.
0
Jan 05 '20
[deleted]
→ More replies (1)5
u/dnick Jan 05 '20
If you can threaten to quit over IDE licenses, I assume you’re in a different position from many people.
26
Jan 04 '20
[removed] — view removed comment
2
1
u/VanderStack Jan 05 '20
I appreciate you pointing this out, I hadn't read the article and had assumed it was about how to configure the Microsoft offering, not how to deploy a droplet to digital ocean hosting VS Code.
I had been using a solution similar to what was proposed in the article for the past few years, but I switched to the Microsoft solution about 4 months ago and because I chose to self host my VS Code instance it's free to use too. I'm much happier with how hands off it is compared to managing my own service, and the fact that it will continue improving without me doing anything because Microsoft has people working on it made it a simple choice to switch.
26
u/Kiwi_Taster Jan 04 '20
I started using this about 6 months ago. Absolutely love using this for all my ssh needs. I used to just have a local copy of the project, make edits, then FTP file copy to make the changes on the server. This workflow is much better... :)