Shiny Demos is a growing set of demos of the latest Open Web Standards, made by the Opera developer relations team. No browser is blocked: any browser that supports the standard sees the shiny!
Please file an issue if you find a bug, and better yet, submit a pull request with a fix and tests.
- npm (bundled with Node.js)
- In your terminal, navigate to this folder.
git submodule init && git submodule updateto grab the Odin and Emberwind demos.
node .to build the site and put compiled demos in
grunt buildworks too).
- Start a local server and begin at
deploy/index.htmlto navigate the demos
Note: you'll probably get errors about not being able to patch Emberwind and Odin—this won't affect anything, however, unless you're trying to deploy the site.
There are two grunt tasks for running tests:
grunt test: run the unit test suite.
grunt test:config: run the config tests over every entry in
config.yaml(the unit tests only test a subset).
Deploying the site
There are two grunt tasks for deploying the site:
grunt deploy:dev: deploys to dev.shinydemos.com, for manual testing and future versions of the site.
grunt deploy:prod: deploys to shinydemos.com.
Note: this will only work if you have access to the deploy script repo and have ssh keys in the right place, i.e., you probably can forget this exists.
We're still figuring this out. Stay tuned!
That said, there are things to keep in mind for any new demo:
- All demos need to have their associated data in
- Checking in large binary files into the repo makes
- All demos should live on a
- All demos need a thumbnail image at
source/thumbsand the file name needs to match the slug.