μtrac display
cd ./src/
npm install
./node_modules/.bin/tsc
Or use Visual Studio Code and hit ctrl+shift+b
. (npm install
is still required.)
When running the app, it's possible to set the URL to poll for the JSON file with data. Use the following:
http://localhost:8000/?file=http://localhost:8000/test.json
Notice the file
query string parameter.
Any web server serving the ./src/
folder will do.
cd ./src/
python -m http.server
cd ./src/
python -m SimpleHTTPServer