Open RobertCNelson opened 4 years ago
Looks interesting....
Default install...
https://github.com/cdr/code-server may be a good option too.
I am not sure how its performance would stack up against cloud9 or theia. This would also enable us to connect and use vscode over ssh using this
The major advantage I see as a vscode user for using theia/vscode over cloud9 is all the available extensions.
random hacks:
https://github.com/cdr/code-server.git
sudo apt update
sudo apt install yarnpkg curl gnupg nodejs build-essential libsecret-1-dev libx11-dev libxkbfile-dev gettext-base git rsync unzip jq shellcheck golang gulp
GO111MODULE=on go get mvdan.cc/sh/v3/cmd/shfmt
sudo cp -v ./go/bin/shfmt /usr/local/bin/
GO111MODULE=on go get github.com/goreleaser/nfpm/cmd/nfpm@v1.9.0
sudo cp -v ./go/bin/nfpm /usr/local/bin/
sudo ln -s /usr/bin/yarnpkg /usr/bin/yarn
git clone -b v3.8.1 https://github.com/cdr/code-server.git --depth=1
cd ./code-server/
yarn
yarn build
yarn build:vscode
yarn release
yarn release:standalone
yarn test:standalone-release
yarn package
Okay, i got a hacked version working...
@MarkAYoder and @jadonk
In buster...
sudo apt update
sudo apt install bb-code-server
Then just run as:
/opt/code-server/app/bin/code-server --auth none --bind-addr 0.0.0.0:3000
For extensions:
formulahendry.code-runner eamodio.gitlens
voodoo@x2-am57xx-beagle-x15-2gb:/opt$ du -sh code-server/
426M code-server/
actually.. ( i can nuke the custom node binary..)
voodoo@x2-am57xx-beagle-x15-2gb:/opt/code-server$ du -sh app/
349M app/
Old cloud9:
debian@bbg-pwr06-ser14:/opt$ du -sh cloud9
123M cloud9
Regards,
@RobertCNelson I got code-server running on the Bone. It looks interesting. Are there any tutorials on how to use it (rather than install it) that you'd recommend?
@MarkAYoder honestly, i'm slowly figuring it out.. But yeah, totally new..
Under extensions, grab "formulahendry.code-runner"... i need to pre-isntall this.. after installing it, ctrl-f5, and you should get an arrow in the upper right.. just like cloud9's runner..
I"m going to push a socket activation option, it'll probably break everything.. so you might have to disable it..
Regards,
Edit: ugh, i didn't set the user, so it'l run as root... we need to run as "debian"...
Edit2: it takes about an hour to build on a Raspberry Pi 4 8gb... So 2 hours for buster and bullseye on every change i make..
@RobertCNelson This looks like a good place to start for VS in general: https://code.visualstudio.com/docs/getstarted/introvideos
Let me know when you have a new version for me to try.
v3.9.1 added compression... ;)
voodoo@x6-am57xx-beagle-x15-2gb:~$ du -sh /opt/bb-code-server/
298M /opt/bb-code-server/
https://theia-ide.org/ ?