From e7a681a8ad2fdd1b9c45283ffba210f9fcea4768 Mon Sep 17 00:00:00 2001 From: accetto <34798830+accetto@users.noreply.github.com> Date: Sat, 20 Mar 2021 12:16:06 +0100 Subject: [PATCH] TLDR section added to readme files --- docker/xfce-nodejs/README-dockerhub.md | 48 ++++++++++++++++++++++++++ docker/xfce-nodejs/README.md | 42 ++++++++++++++++++++++ 2 files changed, 90 insertions(+) diff --git a/docker/xfce-nodejs/README-dockerhub.md b/docker/xfce-nodejs/README-dockerhub.md index 0e2a548..23388ea 100644 --- a/docker/xfce-nodejs/README-dockerhub.md +++ b/docker/xfce-nodejs/README-dockerhub.md @@ -18,8 +18,56 @@ *** +### TL;DR + +Updating [npm][npm]: + +```shell +### globally +npm install -g npm + +### checking the versions +node -v +npm -v +npx -v +``` + +Installing [TypeScript][typescript]: + +```shell +### globally +npm install -g typescript + +### checking the version +tsc --version +``` + +Installing [Angular][angular]: + +```shell +### globally +npm install -g @angular/cli + +### checking the version +ng --version +``` + +Installing [Electron][electron]: + +```shell +### local installation inside a project works usually better +npm install --save-dev electron + +### apps need to be started with '--no-sandbox' option +electron-test-app --no-sandbox %U +``` + +### Table of content + - [Headless Ubuntu/Xfce container with VNC/noVNC for `Node.js` development](#headless-ubuntuxfce-container-with-vncnovnc-for-nodejs-development) - [accetto/ubuntu-vnc-xfce-nodejs-g3](#accettoubuntu-vnc-xfce-nodejs-g3) + - [TL;DR](#tldr) + - [Table of content](#table-of-content) - [Image tags](#image-tags) - [Ports](#ports) - [Volumes](#volumes) diff --git a/docker/xfce-nodejs/README.md b/docker/xfce-nodejs/README.md index a28bf84..aec1494 100644 --- a/docker/xfce-nodejs/README.md +++ b/docker/xfce-nodejs/README.md @@ -36,6 +36,48 @@ The fastest way to build the images locally: Find more in the hook script `env.rc` and in the [sibling Wiki][sibling-wiki]. +Updating [npm][npm]: + +```shell +### globally +npm install -g npm + +### checking the versions +node -v +npm -v +npx -v +``` + +Installing [TypeScript][typescript]: + +```shell +### globally +npm install -g typescript + +### checking the version +tsc --version +``` + +Installing [Angular][angular]: + +```shell +### globally +npm install -g @angular/cli + +### checking the version +ng --version +``` + +Installing [Electron][electron]: + +```shell +### local installation inside a project works usually better +npm install --save-dev electron + +### apps need to be started with '--no-sandbox' option +electron-test-app --no-sandbox %U +``` + ### Table of contents - [Headless Ubuntu/Xfce container with VNC/noVNC for `Node.js` development](#headless-ubuntuxfce-container-with-vncnovnc-for-nodejs-development)