Commit 86de34c7 authored by uwwdp's avatar uwwdp
Browse files

Add screenshot

parent 62d682a2
......@@ -2,6 +2,8 @@
A simple demo app for the k-nearest neighbor algorithm, written with React/Typescript.
![screenshot](./screenshot.png "Screenshot")
## Running the app
Use `npm start` to run the app in development mode.
......@@ -12,6 +14,6 @@ Building the app for production mode can be done by running `npm run build`.
## Adding presets
The preset configuration files can be found in the folder src/presets.
On executing `npm start` all presets are batched together into a single file called presets.json.
On executing `npm start` or `npm run build` all presets are batched together into a single file called presets.json.
To add a new preset, simply place in the folder mentioned beforehand, preferably under the name presetXX.json (XX being any double digit number).
\ No newline at end of file
......@@ -20,7 +20,7 @@
},
"scripts": {
"start": "node batch-presets.js && react-scripts start",
"build": "react-scripts build",
"build": "node batch-presets.js && react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment