Skip to content
This repository has been archived by the owner on May 10, 2019. It is now read-only.

grounds/groundify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Groundify

Circle CI

Groundify is a javascript plugin to make gists runnable.

Groundify is using Grounds code runner.

Groundify enforces first that a gist is supported by the code runner. If this gist's language is supported, groundify adds a control bar to run this gist.

This project is still at an early development stage and therefore is unstable.

Example:

There is also a demo page available here.

Embedding Groundify

  1. Drop an embedded gist in your page:

    <script src="https://gist.github.com/foliea/793e21dee21e0c7b81a8.js"></script>
  2. Drop groundify plugin in your page:

    <script src="https://rawgit.com/grounds/groundify/master/build/groundify.min.js"></script>

Hack on Groundify

All you need is Node.js, npm and make installed to hack on Groundify.

Prerequisite

  1. Clone this project:

     git clone https://github.com/grounds/groundify.git
    
  2. Get into this project directory

     cd groundify
    
  3. Install dependencies:

     make dependencies
    

Build

make all

This will build unminified and minified package in build directory.

Tests

make test

If you want to only run unit tests:

make test-unit

If you want to only run acceptance tests:

make test-acceptance

Author

Adrien Folie

Licensing

Groundify is licensed under the MIT License. See LICENSE for full license text.

About

Make you gists runnable!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages