Build instructions #3809
-
OS/Web Information
Hey guys, I just learned about code-server and I’m super excited to contribute somehow. I’m trying to get up to speed and contribute so I’m trying to build code-server locally and test it. I’m a bit puzzled about it, so I want to make sure my build process is correct. Here is what I am doing now:
At the end of these steps extract the .tar.gz file and test the binary I get a barrage of errors when I try to open a terminal or run any extensions. I’m writing this from my phone but will add more specific errors later on. it would be awesome if someone could verify if this is generally the proper procedure to build locally. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
That's amazing! Let's see how we can help you. Hmm...your process looks right 🤔 Let me walk through how I usually do it.
I think that should run the binary and spin up code-server on port 8080. Let me know if that works/helps! |
Beta Was this translation helpful? Give feedback.
That's amazing! Let's see how we can help you.
Hmm...your process looks right 🤔 Let me walk through how I usually do it.
yarn
to install dependenciesyarn build
to build code-serveryarn build:vscode
to build vscodeyarn release
to create release packagescd release-packages
to find the release filestar -xzf code-server*-linux-amd64.tar.gz
to untar the release./release-packages/code-server*-linux-amd64.tar.gz/bin/code-server
I think that should run the binary and spin up code-server on port 8080.
Let me know if that works/helps!