Skip to content

Commit

Permalink
TLDR section added to readme files
Browse files Browse the repository at this point in the history
  • Loading branch information
accetto committed Mar 20, 2021
1 parent 7971e5b commit e7a681a
Show file tree
Hide file tree
Showing 2 changed files with 90 additions and 0 deletions.
48 changes: 48 additions & 0 deletions docker/xfce-nodejs/README-dockerhub.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
42 changes: 42 additions & 0 deletions docker/xfce-nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e7a681a

Please sign in to comment.