diff --git a/README.md b/README.md index 1b204d6..cdaeae5 100644 --- a/README.md +++ b/README.md @@ -207,7 +207,7 @@ Your final file and folder structure should look like this: Run `npm run build` to build the radar and upload the files of the `./build` folder to your server. You can view a development version of the radar by running `npm run serve` and open the radar in -your browser at `http://localhost:3000`. +your browser at `http://localhost:3000/techradar` or the path you specified via `basePath`. ## Advanced styling with `custom.css` @@ -255,4 +255,5 @@ run `npm run serve` or `npm run build` to see the changes. If you want to change core functionality of the radar, you can clone this repository and put your radar's markdown-files, config.json and about.md in the `data` folder. Run `npm run build:data` to parse the markdown files and create a `data.json` and then run `npm run dev` to start the -development server, which will be available at `http://localhost:3000`. +development server, which will be available at `http://localhost:3000/techradar` or the path +you specified via `basePath`. diff --git a/data/config.json b/data/config.json index 0967ef4..29f00c2 100644 --- a/data/config.json +++ b/data/config.json @@ -1 +1,3 @@ -{} +{ + "basePath": "/techradar" +} diff --git a/package-lock.json b/package-lock.json index 7d4b339..16dcb0a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "aoe_technology_radar", - "version": "4.1.0", + "version": "4.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "aoe_technology_radar", - "version": "4.1.0", + "version": "4.2.0", "hasInstallScript": true, "bin": { "techradar": "bin/techradar.js"