code-server/doc/CONTRIBUTING.md
Anmol Sethi be032cf735
Add NPM package, debs, rpms and refactor CI/build process
Closes many issues that I'll prune after adding more docs
for users.
2020-05-06 20:25:52 -04:00

1.0 KiB

Contributing

Development Workflow

yarn
yarn vscode
yarn watch # Visit http://localhost:8080 once completed.

To develop inside of an isolated docker container:

./ci/dev/container/exec.sh

root@12345:/code-server# yarn
root@12345:/code-server# yarn vscode
root@12345:/code-server# yarn watch

Any changes made to the source will be live reloaded.

If changes are made to the patch and you've built previously you must manually reset VS Code then run yarn vscode:patch.

Some docs are available at ../src/node/app on how code-server works internally.

Build

yarn
yarn vscode
yarn build
yarn build:vscode
yarn release
node ./release # Run the built JavaScript with Node.