Set default of PUBLIC_URL to /build to align with createReactApp build folder
This commit is contained in:
2
.env
2
.env
@@ -1,2 +1,2 @@
|
|||||||
REACT_APP_RADAR_NAME=AOE Technology Radar
|
REACT_APP_RADAR_NAME=AOE Technology Radar
|
||||||
PUBLIC_URL=/techradar
|
PUBLIC_URL=/build
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ The AOE Tech radar is deployed here: https://www.aoe.com/techradar/index.html
|
|||||||
|
|
||||||
## Usage for your own radar?
|
## Usage for your own radar?
|
||||||
The generator is free to use under Open Source License - in fact there are already some other Radars published based on our Radar and there are also Contributions back.
|
The generator is free to use under Open Source License - in fact there are already some other Radars published based on our Radar and there are also Contributions back.
|
||||||
(There is a list of planned features below in case someone wants to contribute :-)
|
|
||||||
|
|
||||||
However, please be aware:
|
However, please be aware:
|
||||||
|
|
||||||
@@ -22,7 +21,7 @@ You can customize the following parts of the tech radar.
|
|||||||
Set the environment variable `REACT_APP_RADAR_NAME`. The default is "AOE Technology Radar".
|
Set the environment variable `REACT_APP_RADAR_NAME`. The default is "AOE Technology Radar".
|
||||||
|
|
||||||
### Host the application under a sub path
|
### 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 "/techradar".
|
To host the application under a sub path, set the environment variable `PUBLIC_URL`, e.g. "/techradar". The default is "/build".
|
||||||
|
|
||||||
### Change the favicon
|
### Change the favicon
|
||||||
To change the favicon, create a public folder in your application and put your favicon.ico in it.
|
To change the favicon, create a public folder in your application and put your favicon.ico in it.
|
||||||
@@ -58,7 +57,7 @@ Serve
|
|||||||
python3 -m http.server 8080
|
python3 -m http.server 8080
|
||||||
```
|
```
|
||||||
|
|
||||||
Then open here: http://localhost:8080*PUBLIC_URL*
|
Then open here: http://localhost:8080/build
|
||||||
|
|
||||||
### Run a prepared static version
|
### Run a prepared static version
|
||||||
To have a better SEO ranking, you can generate a html file for every page.
|
To have a better SEO ranking, you can generate a html file for every page.
|
||||||
|
|||||||
@@ -68,8 +68,8 @@ export default function PageHelp({
|
|||||||
more-informed and better-aligned decisions.
|
more-informed and better-aligned decisions.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
We also hope that developers outside of AOE find the informations in
|
We also hope that developers outside of AOE find the information in
|
||||||
our technologie overview inspirational.
|
our technology overview inspirational.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
We group or categorize the items in 4 quadrants - (sometimes, when
|
We group or categorize the items in 4 quadrants - (sometimes, when
|
||||||
@@ -81,7 +81,7 @@ export default function PageHelp({
|
|||||||
<strong>Languages and Frameworks:</strong> We've placed development
|
<strong>Languages and Frameworks:</strong> We've placed development
|
||||||
languages (such as Scala or Golang) here, as well as more low-level
|
languages (such as Scala or Golang) here, as well as more low-level
|
||||||
development frameworks (such as Play or Symfony), which are useful
|
development frameworks (such as Play or Symfony), which are useful
|
||||||
for implementing custom software of all kinds.{" "}
|
for implementing custom software of all kinds.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<strong>Tools:</strong> Here we put different software tools - from
|
<strong>Tools:</strong> Here we put different software tools - from
|
||||||
|
|||||||
Reference in New Issue
Block a user