Skip to content

Commit

Permalink
fix: mention basePath in local URL and set default to /techradar
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasschopmans committed Mar 25, 2024
1 parent d8564af commit 969306c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:https://localhost:3000`.
your browser at `http:https://localhost:3000/techradar` or the path you specified via `basePath`.

## Advanced styling with `custom.css`

Expand Down Expand Up @@ -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:https://localhost:3000`.
development server, which will be available at `http:https://localhost:3000/techradar` or the path
you specified via `basePath`.
4 changes: 3 additions & 1 deletion data/config.json
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
{}
{
"basePath": "/techradar"
}
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 969306c

Please sign in to comment.