Тёмный

Code Server Is An AWESOME Replacement for VS Code! 

Jim's Garage
Подписаться 35 тыс.
Просмотров 20 тыс.
50% 1

Code Server centralises VS Code! No longer do you need to install it on each of your machines, simply access it through your web browser! It's the perfect companion for homelabbing and coding.
Code Server Docker Compose:
github.com/JamesTurland/JimsG...
Recommended Hardware: github.com/JamesTurland/JimsG...
Discord: / discord
Twitter: / jimsgarage_
Reddit: / jims-garage
GitHub: github.com/JamesTurland/JimsG...
00:00 - Code Server vs CS Code
02:28 - Code Server Overview
02:56 - Docker Compose Overview
04:48 - Docker Deployment
06:20 - Code Server GUI & Configuration
07:21 - Connect to GitHub
09:31 - Add Username and Email
10:30 - Commit, Push, Pull from GitHub
12:30 - Outro

Наука

Опубликовано:

 

23 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 59   
@olsenlid
@olsenlid 10 месяцев назад
Great to see your channel growing at a steady pace. Love your vids :)
@Jims-Garage
@Jims-Garage 10 месяцев назад
Thanks for the support, glad you like them!
@drakeomar1290
@drakeomar1290 21 день назад
this video changed my entire dev env thank you. this solves so many of my portability and consistency issues
@Jims-Garage
@Jims-Garage 21 день назад
That's awesome! :)
@shootinputin6332
@shootinputin6332 2 месяца назад
I've had a github page for years but never really did anything with it. That just changed with this video. Thanks, Jim!
@Jims-Garage
@Jims-Garage 2 месяца назад
You're welcome 😁
@noviankristianto1060
@noviankristianto1060 2 месяца назад
The way you explain the content is really amazing. Enjoy watching your content. Thanks for the video🎉
@Jims-Garage
@Jims-Garage 2 месяца назад
I appreciate that!
@MikeKranidis
@MikeKranidis 2 месяца назад
Another one useful and well documented video, thanks.
@Jims-Garage
@Jims-Garage 2 месяца назад
Thanks, Mike
@orlando3650
@orlando3650 10 месяцев назад
You’re doing a great job - Keep it on 🎉
@Jims-Garage
@Jims-Garage 10 месяцев назад
Thanks 👍 have a great weekend
@dmbrv
@dmbrv 10 месяцев назад
Awesome video. Thanks.
@Jims-Garage
@Jims-Garage 10 месяцев назад
You're welcome 😁
@literasikeamanandigital4771
@literasikeamanandigital4771 5 месяцев назад
can we run php artisan serve (Laravel PHP) in terminal (which normally run on localhost) ?
@kenny45532
@kenny45532 8 месяцев назад
Will this support remote-ssh? I do a lot of development on different machines and remote-ssh comes in handy. If its supported, how does one make it work?
@TheWild_
@TheWild_ 9 месяцев назад
One problem I have with code serve on dokcer is that whenever I'm working with HTML files and I want to use the Live Server extension to see my changes i real time I cant, because It's through docker uses a diferrent port. Any idea how I can come around that?
@Jims-Garage
@Jims-Garage 8 месяцев назад
Should be possible if you follow these instructions: github.com/coder/code-server/discussions/4963
@ENT_PRESTIGIOUS
@ENT_PRESTIGIOUS 6 месяцев назад
how do i make it login with my microsoft account?
@RoySalisbury
@RoySalisbury 4 месяца назад
Can you use the hosted coder server instance to then connect to a remote VS code instance via SSH (like you can do in VS Code)?
@Jims-Garage
@Jims-Garage 4 месяца назад
It's possible but it's not pretty to do it.
@Robertjaymercer
@Robertjaymercer 10 месяцев назад
Thank again for your video sir. Quick question if i may, i previously installed it on one of my server (ubuntu server 22.04 with docker and portainer) but when i tried to "compose up" a file it would tell me that docker wasn t installed... never managed to fix this, would you have an input by any chance?
@Jims-Garage
@Jims-Garage 10 месяцев назад
I assume you have installed Docker and Docker Compose?
@Robertjaymercer
@Robertjaymercer 10 месяцев назад
@@Jims-Garage oh yes definitely. I can compose and deploy containers on the servers with my vs code wish ssh (from my windows computer) or directly on the server on ssh, but when trying to deploy a container via codeserver installed on a container it give me that message on the terminal "bin/bash... docker is not installed"
@Jims-Garage
@Jims-Garage 10 месяцев назад
@@Robertjaymercer I see what you mean, sorry I misunderstood. I believe you can do it following these instructions: coder.com/docs/code-server/latest/FAQ#can-i-use-docker-in-a-code-server-container
@Robertjaymercer
@Robertjaymercer 10 месяцев назад
@@Jims-Garage thank you for your time sir, will check it out!
@mesharetelohim
@mesharetelohim 10 месяцев назад
Hey Jim great job with the Video. With regards to Code server you can set it up with your homelab Yaml files and create folders and delete files just like you would when you access the folder. That way you don't really need a separate file manager or so when accessing your docker directory and it works as a one stop place for everything. Cheers
@Jims-Garage
@Jims-Garage 10 месяцев назад
Certainly, if it's a bind mount then you have access to the file structure. Any changes are reflected in the workspace (might just need to be careful of permissions).
@mesharetelohim
@mesharetelohim 10 месяцев назад
​@@Jims-Garageyea I have a question on that. If my code server instance is limited to my homelab is there any issues giving it a root access?
@Jims-Garage
@Jims-Garage 10 месяцев назад
@@mesharetelohim it's always good practice not to, but it'll be fine if it's just internally available.
@popalex
@popalex 5 месяцев назад
Great video ! Can you give more details about the reverse proxy part?
@Jims-Garage
@Jims-Garage 5 месяцев назад
Take a look at my Traefik video, that should outline how it works and why it's useful to have.
@JonathanPeel
@JonathanPeel 5 месяцев назад
This is awesome. Do you have videos that explain how to set up the proxy you are using?
@Jims-Garage
@Jims-Garage 5 месяцев назад
Yes, check out my Traefik video earlier in the series
@JonathanPeel
@JonathanPeel 5 месяцев назад
@@Jims-GarageThank you, I did find it, basically I started with this video, and that led me to "Oooo, what is Traefik", and I found that one (I have since replaced Nginx on one of our small demo servers with Traefik, the labels makes configuration a whole lot simpler"... That video led me to "ooo what is Portainer", and I got that installed, although to be honest I will probably only use it to look at logs. I am now back at getting Code-Server to work, it is running, but I want npm and dotnet. They, I guess would need to be installed inside the container.
@basdfgwe
@basdfgwe 8 месяцев назад
Yeah its good to edit text files using the stuff from vscode. But not sure that this is the replacement for vscode application. It has most of the things from a development perspective but it doesn't have the development environment. I'm assuming in order to get this to work in the way that I'm thinking is that you will need to run the code server in each of your development enviroments. So if you have a server for node related work, then you will need to have docker and this image running to take advantage of running your project. Which probably then begs the question - why not use vscode desktop app (single install) and remote-ssh into your development environments/servers ?
@i_accept_all_cookies
@i_accept_all_cookies 6 месяцев назад
They also have a project, Coder, that "enables organizations to set up development environments in the cloud. Environments are defined with Terraform, connected through a secure high-speed Wireguard tunnel, and are automatically shut down when not in use to save on costs."
@Evil6_9
@Evil6_9 9 месяцев назад
Can you provide any solutions for extensions ? There are multiple extensions that i want to use, but i can't use them 😔
@Jims-Garage
@Jims-Garage 9 месяцев назад
What's the issue?
@Evil6_9
@Evil6_9 9 месяцев назад
We can't use live server , live preview and many others It shows: *The 'Language PL/SQL' extension is not available in code-server for Web.* Here i was trying pl/sql extension
@Jims-Garage
@Jims-Garage 9 месяцев назад
@@Evil6_9 I haven't actually used that extension before, I'll take a look.
@funfunfun18
@funfunfun18 9 месяцев назад
Hey Jim. I’m a Rails developer. I’m keen to set up Code Server and do light development through my iPad. I need to run my test suite in a Docker container via the terminal - any suggestions on an optimal configuration for this please? I don’t mind spending a bit of money. The hosted solutions I’ve checked out so far don’t seem to allow the building of containers
@Jims-Garage
@Jims-Garage 9 месяцев назад
Hey, welcome. Just so I understand, are you looking to deploy the container from the code-server container via the GUI terminal? If so, it's possible but it's not an elegant solution. Here are some options reddit.com/r/docker/s/C0RiZFJehy
@muratcosar3873
@muratcosar3873 Месяц назад
Has anyone used it with Alpine without any problems?
@Glatze603
@Glatze603 9 месяцев назад
Basically cool, but without "remote ssh" and "remote explorer" it´s not really the same. I have two ssh jumpserver that are only allowed to access my remote machines and I would like to get it integrated. Maybe in combination with the docker-based openssh-server.
@Jims-Garage
@Jims-Garage 9 месяцев назад
True, I believe you can do the following, however: "You can't use Remote SSH on code-server since code-server itself is (kinda) a Remote SSH session. Instead, if you gain access to the system, you can: Get a DE like Xfce Get VNC server/Xrdp and use it to connect to your deployment's GUI. Then you can install VS Code, get the Remote SSH extension and use it."
@julesbois2122
@julesbois2122 3 месяца назад
Where should I put my own code on a Linux machine? It should be somewhere in ~/? What is the "best practice" in this matter?
@Jims-Garage
@Jims-Garage 3 месяца назад
There's no single answer as it depends on what you're doing. For instance, mine is on my NAS for redundancy and I have password files access controlled with ACLs
@julesbois2122
@julesbois2122 3 месяца назад
@@Jims-Garage Oh thanks. But my question is more primitive. I'm just getting started with Linux. I installed nginx and VS code-server on a separate machine that I have at home. I will work from someone else's device, not from my home. What directory should my scripts (code), my current work, usually be in? I understand that I can place my files anywhere. But still, what do people do?
@Jims-Garage
@Jims-Garage 3 месяца назад
@@julesbois2122 most likely the home directory but it doesn't matter
@barbeque701
@barbeque701 6 дней назад
hello! i am an incoming computer science student and i am planning to buy a tablet. can my tablet be a good portable 2nd option to code on using vs code? i have seen stuff on running vscode on tablets but i am far too clueless on the world of programming to understand what is going on. so for those who know more on this topic, is it possible for me to use my tablet as a portable 2nd option to code using vscode?
@Jims-Garage
@Jims-Garage 6 дней назад
@@barbeque701 you could use this product in the video. However a true ide is probably better. What kind of tablet are you thinking? A surface pro is a tablet but also a full blown pc.
@barbeque701
@barbeque701 6 дней назад
@@Jims-Garage just either an apple or android one since the surface pro is too expensive for me
@Jims-Garage
@Jims-Garage 6 дней назад
@@barbeque701 bear in mind you'll need a "server" machine running the container, but accessing it with a browser on a tablet should work.
@user-pt3wl3qk4e
@user-pt3wl3qk4e 5 месяцев назад
Any way to get Pylance working so Python syntax highlighting is easier to read? Or any subsitute?
@yesyes9698
@yesyes9698 5 месяцев назад
Couldn’t get to run c# or python or nothing at all. Just an online notepad basically.
@kamleshpatel9152
@kamleshpatel9152 21 день назад
@Jims-Garage I can't find the Remote SSH extension in Code-server. Do you recommend any alternative extension for SSH?
Далее
you NEED to use VS Code RIGHT NOW!!
12:48
Просмотров 560 тыс.
Ranking The Most Painful Crashes
00:19
Просмотров 3,5 млн
D3 BMW XM LABEL Король.
31:52
Просмотров 858 тыс.
I tried coding on my iPad for 7 days
7:25
Просмотров 1,7 млн
Your Old PC is Your New Server
11:07
Просмотров 6 млн
I tried 10 code editors
10:28
Просмотров 2,9 млн
Self Host Tailscale with Headscale - How To Setup
21:51
This web UI for Ansible is so damn useful!
20:07
Просмотров 465 тыс.
$1 vs $100,000 Slow Motion Camera!
0:44
Просмотров 27 млн