Last active
August 31, 2020 07:12
-
-
Save kittaakos/1c015c8d1ec29b486a3c636ab7640af8 to your computer and use it in GitHub Desktop.
[Ubuntu 18.04.4] Build Theia
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -i | |
sudo apt update \ | |
&& sudo apt install --no-install-recommends --yes \ | |
git \ | |
curl \ | |
make \ | |
gcc \ | |
pkg-config \ | |
build-essential \ | |
libx11-dev \ | |
libxkbfile-dev \ | |
&& wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash \ | |
&& source ~/.bashrc \ | |
&& nvm install 12.14.1 \ | |
&& nvm use 12.14.1 \ | |
&& nvm alias default 12.14.1 \ | |
&& curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - \ | |
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list \ | |
&& sudo apt update && sudo apt install --no-install-recommends yarn \ | |
&& rm -rf ~/dev/git/theia \ | |
&& mkdir -p ~/dev/git/ \ | |
&& git clone --depth 1 https://github.com/eclipse-theia/theia.git ~/dev/git/theia \ | |
&& yarn --cwd ~/dev/git/theia \ | |
&& yarn --cwd ~/dev/git/theia rebuild:electron \ | |
&& yarn --cwd ~/dev/git/theia/examples/electron start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment