Skip to content

Commit

Permalink
Change: Update README for installing GSA
Browse files Browse the repository at this point in the history
Update the required nodejs version and replace yarn commands with npm.
We dropped yarn 1 in favor of npm.
  • Loading branch information
bjoernricks committed Oct 9, 2023
1 parent 8089d6a commit 1819d65
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,12 @@ and the fingerprint is `8AE4 BE42 9B60 A59B 311C 2E73 9823 FAA6 0ED1 E580`.
## Installation

Prerequisites for GSA:
* node.js >= 14.0
* yarn >= 1.0
* node.js >= 18.0

To install nodejs 14 the following commands can be used
To install nodejs the following commands can be used

```bash
export VERSION=node_14.x
export VERSION=node_18.x
export KEYRING=/usr/share/keyrings/nodesource.gpg
export DISTRIBUTION="$(lsb_release -s -c)"

Expand All @@ -60,8 +59,8 @@ generated JavaScript and CSS files and additionally in the `build/static/media`
directory SVG files for all icons will be found.

```bash
yarn
yarn build
npm install
npm run build
```

All content of the production build can be shipped with every web server. For
Expand All @@ -88,7 +87,7 @@ to run GSA in a special web development server. The development server can be
started with:

```sh
cd path/to/gsa && yarn run start
cd path/to/gsa && npm run start
```

Afterwards the development web server is set up and a new browser window is
Expand Down

0 comments on commit 1819d65

Please sign in to comment.