https://cityscope.media.mit.edu/CS_CityScopeJS_UI/
Add ?TABLE_NAME to URL to get radar for a specific CityScope table, i.e:
https://cityscope.media.mit.edu/CS_CityScopeJS_UI/?CityScopeJS
- Clone & run with
npm install,npm start - edit
radarMath.jsto add math functions oncityIOdata [or any other data you're calling inindex.js] - edit/add/remove/compare radar axes in
radarMath.js
sudo parcel build index.html --public-url https://cityscope.media.mit.edu/CS_CityScopeJS_UI/
Remove the dist directory from the project’s .gitignore (or skip and force-add afterwards).
Make sure git knows about your subtree (the subfolder with your site).
git add distor force-add it if you don't want to change your .gitignore
git add dist -fCommit!
git commit -m "gh-pages commit"Use subtree push to send it to the gh-pages branch on GitHub.
git subtree push --prefix dist origin gh-pagesIf this gets an error [see below], try force push:
git push origin `git subtree split --prefix dist master`:gh-pages --forceradar core from taken from Charles Allen's block Maintained by Ariel Noyman
