Skip to content

Latest commit

 

History

History

demo

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Joy Joy demo

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.

Development

  • 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.

Logging

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 tests

Run npm test

Launches the test runner in the interactive watch mode.

Build the app

Run npm run build

Builds the app for production to the build folder.

Deployment

To deploy the site to https://taktran.github.io/joy-joy/, run

npm run deploy