A demo of the Joy Joy library.
This demo is deployed to https://taktran.github.io/joy-joy/
This project was bootstrapped with Create React App.
-
Install nvm
-
Use correct node version
nvm use
-
Go to library folder and run instructions
-
Install dependencies in this folder
npm install
-
Run with
npm start
. Open http://localhost:3000 to view it in the browser.The page will reload if you make edits.
You will also see any lint errors in the console.
Underneath the hood, the library uses ulog. To change the log level, add the parameter log=[log-level]
eg, http://localhost:3000/?log=debug
.
For logging >= log.INFO
, there is also a frames per second stats.
More documentation on the ulog website.
Run npm test
Launches the test runner in the interactive watch mode.
Run npm run build
Builds the app for production to the build
folder.
To deploy the site to https://taktran.github.io/joy-joy/, run
npm run deploy