|
1 |
| -# Motivation |
| 1 | +# Flaconi Technology Radar |
| 2 | +This Tech Radar is built by using the [AOE Technology Radar](https://github.com/AOEpeople/aoe_technology_radar), which contains the skeleton app. |
2 | 3 |
|
3 |
| -At [Flaconi](http://flaconi.de), we maintain a [public Tech |
4 |
| -Radar](http://flaconi.github.io/tech-radar/) to help our engineering teams |
5 |
| -align on technology choices. It is based on the [pioneering work |
6 |
| -by ThoughtWorks](https://www.thoughtworks.com/radar) and [zalando](https://zalando.github.io/tech-radar). |
| 4 | +## Contribute to the Technical Radar |
7 | 5 |
|
8 |
| -This repository contains the code to generate the visualization: |
9 |
| -[`radar.js`](/docs/radar.js) (based on [d3.js v4](https://d3js.org)). |
10 |
| -Feel free to use and adapt it for your own purposes. |
| 6 | +### Create a new Technology Radar release |
| 7 | +For a new Technology Radar release, create a folder of the release date (YYYY-MM-DD) under `./radar`. |
11 | 8 |
|
12 |
| -## Usage |
| 9 | +### Maintaining content |
| 10 | +The items are written in Markdown (`.md`) format. |
13 | 11 |
|
14 |
| -1. include `d3.js` and `radar.js`: |
| 12 | +Each file has a meta header where the attributes of the item are listed: |
15 | 13 |
|
16 |
| -```html |
17 |
| -<script src="https://d3js.org/d3.v4.min.js"></script> |
18 |
| -<script src="https://flaconi.github.io/tech-radar/release/radar-0.9.js"></script> |
| 14 | +``` |
| 15 | +--- |
| 16 | +title: "JavaScript" |
| 17 | +ring: adopt |
| 18 | +quadrant: languages-and-frameworks |
| 19 | +tags: [frontend, coding] |
| 20 | +--- |
| 21 | +
|
| 22 | +Text goes here. You can use **markdown** here. |
19 | 23 | ```
|
20 | 24 |
|
21 |
| -2. insert an empty `svg` tag: |
| 25 | +Following front-matter attributes are possible: |
22 | 26 |
|
23 |
| -```html |
24 |
| -<svg id="radar"></svg> |
25 |
| -``` |
| 27 | +- **title**: Name of the Item |
| 28 | +- **quadrant**: Quadrant. One of `languages-and-frameworks` (for `Languages and Frameworks` quadrant), |
| 29 | + `methods-and-patterns`(for `Techniques` quadrant), `platforms-and-aoe-services` |
| 30 | + (for `Platforms` quadrant), `tools` (for `Tools` quadrant) |
| 31 | +- **ring**: Ring section in radar. One of `trial`, `assess`, `adopt`, `stop` |
| 32 | +- **tags**: Optional tags for filtering. |
| 33 | +- **featured**: (Optional, default "true") If you set this to "false", the item |
| 34 | + will not be visible in the radar quadrants but still be available in the overview. |
26 | 35 |
|
27 |
| -3. configure the radar visualization: |
28 |
| - |
29 |
| -```js |
30 |
| -radar_visualization({ |
31 |
| - repo_url: "https://github.com/flaconi/tech-radar", |
32 |
| - svg_id: "radar", |
33 |
| - width: 1450, |
34 |
| - height: 1000, |
35 |
| - scale: 1.0, |
36 |
| - colors: { |
37 |
| - background: "#fff", |
38 |
| - grid: "#bbb", |
39 |
| - inactive: "#ddd" |
40 |
| - }, |
41 |
| - // Some font families might lead to font size issues |
42 |
| - // Arial, Helvetica, or Source Sans Pro seem to work well though |
43 |
| - font_family: "Arial, Helvetica", |
44 |
| - title: "My Radar", |
45 |
| - quadrants: [ |
46 |
| - { name: "Bottom Right" }, |
47 |
| - { name: "Bottom Left" }, |
48 |
| - { name: "Top Left" }, |
49 |
| - { name: "Top Right" } |
50 |
| - ], |
51 |
| - rings: [ |
52 |
| - { name: "INNER", color: "#5ba300" }, |
53 |
| - { name: "SECOND", color: "#009eb0" }, |
54 |
| - { name: "THIRD", color: "#c7ba00" }, |
55 |
| - { name: "OUTER", color: "#e09b96" } |
56 |
| - ], |
57 |
| - print_layout: true, |
58 |
| - links_in_new_tabs: true, |
59 |
| - entries: [ |
60 |
| - { |
61 |
| - label: "Some Entry", |
62 |
| - quadrant: 3, // 0,1,2,3 (counting clockwise, starting from bottom right) |
63 |
| - ring: 2, // 0,1,2,3 (starting from inside) |
64 |
| - moved: -1 // -1 = moved out (triangle pointing down) |
65 |
| - // 0 = not moved (circle) |
66 |
| - // 1 = moved in (triangle pointing up) |
67 |
| - // 2 = new (star) |
68 |
| - }, |
69 |
| - // ... |
70 |
| - ] |
71 |
| -}); |
72 |
| -``` |
| 36 | +The name of the .md file acts as item identifier and may overwrite items with |
| 37 | +the same name from older releases. |
73 | 38 |
|
74 |
| -Entries are positioned automatically so that they don't overlap. The "scale" parameter can help |
75 |
| -in adjusting the size of the radar. |
| 39 | +If an item is overwritten in a new release, the attributes from the new item are |
| 40 | +merged with the old ones, and a new history entry is created for that item. |
76 | 41 |
|
77 |
| -As a working example, you can check out `docs/index.html` — the source of our [public Tech |
78 |
| -Radar](http://flaconi.github.io/tech-radar/). |
| 42 | +You can integrate images in your markdown. Put the image files in your public folder and reference them: |
79 | 43 |
|
80 |
| -## Deployment |
| 44 | +``` |
| 45 | + |
| 46 | +``` |
81 | 47 |
|
82 |
| -Tech Radar is a static page, so it can be deployed using any hosting provider of your choice offering static page hosting. |
| 48 | +### Content Guidelines |
| 49 | +You can update the rings and the quadrants in the `config.json` file. If you update the names of the rings and quadrants, |
| 50 | +you will need to update the technologies .md files accordingly. |
83 | 51 |
|
84 |
| -## Local Development |
| 52 | +The text on the "How to use the Flaconi Technology Radar" page can be updated in the `about.md` file. |
85 | 53 |
|
86 |
| -1. install dependencies with yarn (or npm): |
| 54 | +## Development |
87 | 55 |
|
88 |
| -``` |
89 |
| -yarn |
90 |
| -``` |
| 56 | +### Host the application under a sub path |
| 57 | +To host the application under a sub path, set the environment variable `PUBLIC_URL`, e.g. "/tech-radar". |
| 58 | +The default is `/`. |
91 | 59 |
|
92 |
| -2. start local dev server: |
| 60 | +> For local development you can use `/build` and use this for the following steps. |
93 | 61 |
|
| 62 | +### Build the radar |
94 | 63 | ```
|
95 |
| -yarn start |
| 64 | +yarn install |
| 65 | +yarn serve |
96 | 66 | ```
|
97 | 67 |
|
98 |
| -3. your default browser should automatically open and show the url |
99 |
| - |
| 68 | +Then open the Tech Radar here: http://localhost:3000/tech-radar |
| 69 | + |
| 70 | +### Build the radar with static files |
100 | 71 | ```
|
101 |
| -http://localhost:3000/ |
| 72 | +yarn install |
| 73 | +yarn build |
102 | 74 | ```
|
103 | 75 |
|
| 76 | +## Note |
| 77 | +The Flaconi Technology Radar are built starting from the [AOE Tech Radar content](https://www.aoe.com/techradar/index.html). |
| 78 | +If you want to build your own Technical Radar you may want to have a look at the [AOE Tech Radar GitHub repository](https://github.com/AOEpeople/aoe_technology_radar). |
| 79 | + |
104 | 80 | ## License
|
105 | 81 |
|
106 | 82 | ```
|
|
0 commit comments