File tree 3 files changed +56
-5
lines changed
3 files changed +56
-5
lines changed Original file line number Diff line number Diff line change @@ -28,13 +28,16 @@ sudo systemctl enable --now code-server
28
28
29
29
``` bash
30
30
curl -sSOL https://github.com/cdr/code-server/releases/download/3.3.0/code-server-3.3.0-amd64.rpm
31
- sudo dnf install code-server-3.3.0-amd64.rpm
31
+ sudo yum install -y code-server-3.3.0-amd64.rpm
32
32
sudo systemctl enable --now code-server
33
33
# Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml
34
34
```
35
35
36
36
### npm
37
37
38
+ ** note:** Installing via ` npm ` requires building native module dependencies. See [ ./doc/npm.md] ( ./doc/npm.md )
39
+ for the dependency install process depending on your OS.
40
+
38
41
``` bash
39
42
npm install -g code-server
40
43
code-server
Original file line number Diff line number Diff line change 3
3
- [ Detailed CI and build process docs] ( ../ci )
4
4
- [ Our VS Code Web docs] ( ../src/node/app )
5
5
6
- ## Development Workflow
6
+ ## Requirements
7
+
8
+ Please refer to [ VS Code's prerequisites] ( https://github.com/Microsoft/vscode/wiki/How-to-Contribute#prerequisites ) .
9
+
10
+ Differences:
7
11
8
- - [ VS Code prerequisites] ( https://github.com/Microsoft/vscode/wiki/How-to-Contribute#prerequisites )
12
+ - We are not constrained by node version
13
+ - We use [ fnpm] ( https://github.com/goreleaser/nfpm ) to build .deb and .rpm packages
14
+
15
+ ## Development Workflow
9
16
10
17
``` shell
11
18
yarn
@@ -33,8 +40,6 @@ works internally.
33
40
34
41
## Build
35
42
36
- - [ VS Code prerequisites] ( https://github.com/Microsoft/vscode/wiki/How-to-Contribute#prerequisites )
37
-
38
43
``` shell
39
44
yarn
40
45
yarn vscode
@@ -45,3 +50,14 @@ cd release
45
50
yarn --production
46
51
node . # Run the built JavaScript with Node.
47
52
```
53
+
54
+ Now you can make it static and build packages with:
55
+
56
+ ```
57
+ yarn release:static
58
+ yarn test:static-release
59
+ yarn package
60
+ ```
61
+
62
+ The static release will be in ` ./release-static ` and the release packages
63
+ (.deb, .rpm, self contained release) in ` ./release-packages ` .
Original file line number Diff line number Diff line change
1
+ # npm Install Requirements
2
+
3
+ If you're installing the npm module you'll need certain dependencies to build
4
+ the native modules used by VS Code.
5
+
6
+ ## Ubuntu, Debian
7
+
8
+ ``` bash
9
+ sudo apt-get install -y \
10
+ build-essential \
11
+ pkg-config \
12
+ libx11-dev \
13
+ libxkbfile-dev \
14
+ libsecret-1-dev
15
+ ```
16
+
17
+ ## Fedora, Red Hat, SUSE
18
+
19
+ ``` bash
20
+ sudo yum groupinstall -y ' Development Tools'
21
+ sudo yum config-manager --set-enabled PowerTools
22
+ sudo yum install -y python2 libsecret-devel libX11-devel libxkbfile-devel
23
+ npm config set python python2
24
+ ```
25
+
26
+ ## macOS
27
+
28
+ Install [ Xcode] ( https://developer.apple.com/xcode/downloads/ ) and run:
29
+
30
+ ``` bash
31
+ xcode-select --install
32
+ ```
You can’t perform that action at this time.
0 commit comments