Theia: Difference between revisions
Jump to navigation
Jump to search
Line 64: | Line 64: | ||
==References== | ==References== | ||
* [https://stackoverflow.com/questions/39065921 Usages of <code>raw.githubusercontent.com</code> Domain] | * [https://stackoverflow.com/questions/39065921 Usages of <code>raw.githubusercontent.com</code> Domain] | ||
* [https://stackoverflow.com/questions/37071388/ | * [https://stackoverflow.com/questions/37071388/ Install Visual Studio Code extensions offline] | ||
* [https://theia-ide.org/ Theia Cloud & Desktop IDE Platform] | * [https://theia-ide.org/ Theia Cloud & Desktop IDE Platform] | ||
* [https://eclipsesource.com/blogs/2019/12/06/the-eclipse-theia-ide-vs-vs-code/ The Eclipse Theia IDE vs. VS Code] | * [https://eclipsesource.com/blogs/2019/12/06/the-eclipse-theia-ide-vs-vs-code/ The Eclipse Theia IDE vs. VS Code] |
Revision as of 18:23, 21 September 2020
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
nvm install 10
npm install -g yarn
sudo mkdir /opt/theia_ide
chown -R pi:pi /opt/theia_ide/
Install
cat <<EOF > /opt/theia_ide/package.json
{
"private":true,
"dependencies":{
"typescript":"latest",
"@theia/typescript":"next",
"@theia/tslint":"next",
"@theia/navigator":"next",
"@theia/terminal":"next",
"@theia/outline-view":"next",
"@theia/preferences":"next",
"@theia/messages":"next",
"@theia/git":"next",
"@theia/file-search":"next",
"@theia/markers":"next",
"@theia/preview":"next",
"@theia/callhierarchy":"next",
"@theia/merge-conflicts":"next",
"@theia/search-in-workspace":"next",
"@theia/json":"next",
"@theia/textmate-grammars":"next",
"@theia/mini-browser":"next",
"@theia/plugin-ext-vscode":"next"
},
"devDependencies":{
"@theia/cli":"next"
}
}
EOF
|
# pios swap memory
printf '\nbefore:\n';free -th;\
sed -i "s|CONF_SWAPSIZE=100|CONF_SWAPSIZE=2048|" /etc/dphys-swapfile;\
service dphys-swapfile restart;\
printf '\nupdate:\n';free -th
export NODE_OPTIONS="--max-old-space-size=2048"
yarn
yarn theia build
|