Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.
/ Code-Server-Update Public archive

Run VS Code on any machine anywhere and access it in the browser.

Notifications You must be signed in to change notification settings

XRSec/Code-Server-Update

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

"GitHub Discussions" "Join us on Slack" Twitter Follow codecov See v4.0.0 docs Docker Automated Build Docker Code Server Build

Run VS Code on any machine anywhere and access it in the browser.

Highlights

  • Code on any device with a consistent development environment
  • Use cloud servers to speed up tests, compilations, downloads, and more
  • Preserve battery life when you're on the go; all intensive tasks run on your server

Requirements

See requirements for minimum specs, as well as instructions on how to set up a Google VM on which you can install code-server.

TL;DR: Linux machine with WebSockets enabled, 1 GB RAM, and 2 CPUs

Preview

screenshot.png

image-20210414055205574

image-20210414055235174

image-20210414055414719

Open the folder where you want XDebug

image-20210414055539161

image-20210414055812313

image-20210414061136419

image-20210414061302145

image-20210414061343415

Getting started

docker run -it -d \
	--name code-server \
	-p 31004:22 \
	-p 5050-5051:5050-5051 \
	-p 8765:8765 \
	-p 31000-31003:31000-31003 \
	xrsec/code-server:latest

# If you need auto start, please revamp

docker run -it -d \
	--name code-server \
	--restart=always \
	-p 31004:22 \
	-p 5050-5051:5050-5051 \
	-p 8765:8765 \
	-p 31000-31003:31000-31003 \
	xrsec/code-server:latest

# Docker
# 5050-5051:5050 	: code-server live server
# 8765:8765	:https web port
# 31004:22	:ssh
# 31000-31003	:liveserver & more
# -v "/home/admin/Document/code:/www/wwwroot" :Site path

# SSL && PassWord
# Password [$ docker logs code-server]
# ca.pem [$ docker cp code-server:/www/bak/ssl_cert/ca.pem .] or vist https://localhost:8765/?folder=/www/bak/ssl_cert to download ca.pem
# Exporting certificates first, then trusting, facilitates PWA technology implementation
# Edit Password
# vist https://localhost:8765/?folder=/root/.config/code-server/ & edit config.yaml then [$ docker restart code-server ]

# PHP
# $ pkill php && php56 && nginx
# $ pkill php && php74 && nginx

You can also take a look at this article see

About

  • Xdebug mode supporting php7 and PHP5
  • Convenient and fast, of course, it also comes with PHP environment and
  • Based on docker container, without any manual operation, the source code can be viewed
  • With the code plug-in library, it is a sharp tool for code audit

XRSec has the right to modify and interpret this article. If you want to reprint or disseminate this article, you must ensure the integrity of this article, including all contents such as copyright notice. Without the permission of the author, the content of this article shall not be modified or increased or decreased arbitrarily, and it shall not be used for commercial purposes in any way

About

Run VS Code on any machine anywhere and access it in the browser.

Resources

Stars

Watchers

Forks

Packages