ci(nodejs): update techradar and switch to npm

This commit is contained in:
Bastian Ike
2022-05-20 11:05:40 +02:00
committed by Bastian
parent 39c9f9c4d9
commit c5a046b6bc
5 changed files with 27306 additions and 12165 deletions

View File

@@ -5,8 +5,6 @@ This is the location of AOE techradar content - published under: https://www.aoe
If you want to build your own techradar you may want to have a look at https://github.com/AOEpeople/aoe_technology_radar instead.
## Development
### Requirements
Install the [yarn package manager](https://yarnpkg.com/getting-started/install).
### Host the application under a sub path
To host the application under a sub path, set the environment variable `PUBLIC_URL`, e.g. "/techradar".
@@ -16,23 +14,23 @@ The default is `/build`.
### Build the radar
```
yarn
yarn start
npm i
npm run start
```
Then open here: http://localhost:8080/build
### Build the radar with static files
```
yarn
yarn start:static
npm i
npm run start:static
```
Then open here: http://localhost:8080/build
### Regenerate the json file based on your changes on md files
```
yarn generateJson
npm run generateJson
```
You can do this while the server is running.