feat: use techradar v4 pre-release

This commit is contained in:
Mathias Schopmans
2024-03-06 14:39:02 +01:00
committed by Mathias Schopmans
parent 3703209915
commit 70f510c394
13 changed files with 246 additions and 28356 deletions

View File

@@ -1,6 +1,6 @@
# AOE Technology Radar - Content
This is the location of AOE techradar content - published under: https://www.aoe.com/techradar/index.html
This is the location of AOE techradar content - published under: https://www.aoe.com/techradar/
If you want to build your own techradar you may want to have a look at https://github.com/AOEpeople/aoe_technology_radar instead.
@@ -27,32 +27,16 @@ tags: [devops, security]
## Development
### Host the application under a sub path
To host the application under a sub path, set the environment variable `PUBLIC_URL`, e.g. "/techradar".
The default is `/`.
> For local development I recommend using `/build` and use this for the following steps.
### Build the radar
```
npm i
PUBLIC_URL=/build npm run start
npm run serve
```
Then open here: http://localhost:8080/build
Then open here: http://localhost:3000/techradar
### Build the radar with static files
```
npm i
PUBLIC_URL=/build npm run start:static
```
Then open here: http://localhost:8080/build
### Regenerate the json file based on your changes on md files
```
npm run generateJson
```
You can do this while the server is running.
You can find the newly created rd.json in "/build/rd.json".
npm run build
```