Removed Theia

This commit is contained in:
Jimmy 2020-09-03 15:49:25 +12:00
parent 2626620ea5
commit 725e224383
4 changed files with 0 additions and 64 deletions

View File

@ -1 +0,0 @@
git

View File

@ -1,20 +0,0 @@
#!/bin/bash -e
install -d ${ROOTFS_DIR}/opt/theia
install files/package.json ${ROOTFS_DIR}/opt/theia
install -d -o 1000 -g 1000 ${ROOTFS_DIR}/home/pi/projects
install -D -m 644 files/theia.service ${ROOTFS_DIR}/etc/systemd/system/theia.service
curl -SL https://nodejs.org/dist/latest-v8.x/node-v8.16.2-linux-armv6l.tar.gz | \
tar xzC ${ROOTFS_DIR}/usr/local/ --strip-components=1
curl -SL https://yarnpkg.com/latest.tar.gz | \
tar xzC ${ROOTFS_DIR}/usr/local/ --strip-components=1
on_chroot << EOF
cd /opt/theia
/usr/local/bin/yarn
/usr/local/bin/yarn theia build
systemctl enable theia.service
systemctl daemon-reload
EOF

View File

@ -1,27 +0,0 @@
{
"private": true,
"dependencies": {
"typescript": "latest",
"@theia/typescript": "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/python": "next",
"@theia/cpp": "next"
},
"devDependencies": {
"@theia/cli": "next"
}
}

View File

@ -1,16 +0,0 @@
[Unit]
Description=Theia Ide
[Service]
Type=simple
PIDFile=/run/theia.pid
ExecStart=/usr/local/bin/yarn theia start --hostname 0.0.0.0 /home/pi/projects
User=pi
Group=pi
WorkingDirectory=/opt/theia
Restart=always
RestartSec=10
#KillMode=mixed
[Install]
WantedBy=multi-user.target