Giter Club home page Giter Club logo

shinydemos's Introduction

Shiny Demos

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.

Requirements

  • Node.js 0.6.X+
  • npm (bundled with Node.js)
  • git

First Run

  • In your terminal, navigate to this folder.
  • Type git submodule init && git submodule update to grab the Odin and Emberwind demos.
  • Type npm install
  • Type node . to build the site and put compiled demos in deploy/ (grunt build works too).
  • Start a local server and begin at deploy/index.html to 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.

Running Tests

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.

Contributions

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 config.yaml file.
  • Checking in large binary files into the repo makes <devo> sad. :(
  • All demos should live on a <demo-slug>/index.html page
  • All demos need a thumbnail image at source/thumbs and the file name needs to match the slug.

shinydemos's People

Contributors

andreasbovens avatar auduno avatar emoller avatar karlcow avatar luzc avatar miketaylr avatar patrickhlauke avatar shwetank avatar tagawa avatar webinista avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.