A quick guide on how to setup Node.js development environment.
Previous versions of these install instructions had been tested with:
t1=$(date +%s) && sleep 1 && t2=$(date +%s) && echo $(( t2 - t1 )) |
{ | |
// Some sample Theia tasks | |
"tasks": [ | |
{ | |
"label": "[Task] short running test task (~3s)", | |
"type": "shell", | |
"cwd": "${workspaceFolder}/packages/task/src/node/test-resources/", | |
"command": "./task", | |
"args": [ | |
"1", |
kubectl scale deploy my-awesome-deployment --replicas=0 |
‘yarn’ command to build Theia uses lerna.js: | |
https://github.com/theia-ide/theia/blob/master/scripts/lerna.js | |
By default lerna uses 4 threads. But You could modify this script to use less threads. Simply Change: | |
``` | |
require(lernaPath); | |
``` | |
To: | |
``` | |
process.argv.push('--concurrency=1'); |
docker rmi $(docker images | grep "^<none>" | awk "{print $3}") |
# Compile stage | |
FROM golang:1.10.1-alpine3.7 AS build-env | |
ENV CGO_ENABLED 0 | |
ADD . /go/src/github.com/ws-skeleton/che-machine-exec | |
# The -gcflags "all=-N -l" flag helps us get a better debug experience | |
RUN go build -gcflags "all=-N -l" -o /server/che-machine-exec github.com/ws-skeleton/che-machine-exec | |
# Compile Delve | |
RUN apk add --no-cache git |
A quick guide on how to setup Node.js development environment.
Previous versions of these install instructions had been tested with:
export THEIA_DEFAULT_PLUGINS=local-dir:../../plugins && theia start |
{ | |
"id": "che7-preview", | |
"creator": "ide", | |
"name": "Che 7 Theia dev", | |
"description": "Development Theia as IDE, CHE-Theia, Theia plugins or plugin api.", | |
"scope": "general", | |
"tags": [ | |
"ws.next", | |
"Theia", | |
"Node.JS", |
sudo apt install ruby ruby-dev | |
sudo gem install travis | |
# install path: /var/lib/gems/ |