diff --git a/Readme.md b/Readme.md index f147368..378de52 100644 --- a/Readme.md +++ b/Readme.md @@ -2,21 +2,20 @@ ## 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 "/techradar". -For local development I recommend using "/build" and use this for the following steps. +To host the application under a sub path, set the environment variable `PUBLIC_URL`, e.g. "/techradar". The default is `/techradar`. + +> For local development I recommend using `/build` and use this for the following steps. ### Build the radar ``` -yarn build -python3 -m http.server 8080 +yarn start ``` Then open here: http://localhost:8080/build ### Build the radar with static files ``` -yarn build:static -python3 -m http.server 8080 +yarn start:static ``` Then open here: http://localhost:8080/build diff --git a/package.json b/package.json index 9e61a5b..83a1517 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,12 @@ "prebuild": "yarn generateJson", "build": "aoe_technology_radar-buildRadar", "prebuild:static": "yarn build", - "build:static": "aoe_technology_radar-createStaticFiles" + "build:static": "aoe_technology_radar-createStaticFiles", + "prestart": "yarn build:static", + "start": "yarn start:server", + "prestart:static": "yarn build:static", + "start:static": "yarn start:server", + "start:server": "python3 -m http.server 8080" }, "dependencies": { "aoe_technology_radar": "https://github.com/aoepeople/aoe_technology_radar.git" diff --git a/public/favicon.ico b/public/favicon.ico index ac826e4..ff1bcd9 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/public/robots.txt b/public/robots.txt deleted file mode 100644 index e9e57dc..0000000 --- a/public/robots.txt +++ /dev/null @@ -1,3 +0,0 @@ -# https://www.robotstxt.org/robotstxt.html -User-agent: * -Disallow: