Git Product home page Git Product logo

water's Introduction

water

Live coding sketchpad for d3.js – data-driven documents. Code modifications are instantly displayed - no need to refresh your browser.

Based on Gabriel Florit's Water live coding sketchpad (original water)

The beautiful code editor, Ace, is an open source project by Ajax.org.

Setup

Any static file web server will work, for example Serve for NodeJS:

serve

Then hit

http://localhost:3000/water.html

or try

http://localhost:3000/water.html#rect-00

and start coding!

Install Serve with NPM:

npm install -g serve

Git Tips

Merging changes from the master branch:

git checkout vibrant-ink
git checkout master README.md
git status
git diff --cached
// git add README.md, git add --interactive

Heroku

Aplikację wdrożyłem na Heroku.

Przykładowo, przykład examples/circle-05.js wpisujemy tak:

http://deep-water.herokuapp.com/#circle-05

Plik .git/config:

[core]
        repositoryformatversion = 0
        filemode = true
        bare = false
        logallrefupdates = true
[remote "origin"]
        fetch = +refs/heads/*:refs/remotes/origin/*
        url = [email protected]:wbzyl/water.git
[branch "master"]
        remote = origin
        merge = refs/heads/master
[remote "heroku"]
        url = [email protected]:deep-water.git
        fetch = +refs/heads/*:refs/remotes/heroku/*

Nowe przykłady wrzucamy na heroku w taki sposób:

git push heroku master

water's People

Contributors

lgrammel avatar jack8 avatar michalpodlecki avatar aleksandra avatar hubertwojciechowski avatar

Stargazers

Piotr Kamiński avatar

Watchers

James Cloos avatar Piotr Kamiński 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.