Code Monkey home page Code Monkey logo

craftyjs.github.com's Introduction

Crafty.js Homepage

This repo contains the content and infrastructure for craftyjs.com.
Changes should be directed to the source subdirectory, the pages will be generated from them.

How to build locally

Building the website requires that npm and grunt be installed globally. Then run npm install to download the necessary packages.

  • grunt assemble will build the website, drawing content from the source subdirectory
  • grunt connect will allow you to preview the website locally

How to view and modify demos

The demos subdirectory is realized as a git submodule.
Any changes to the demo files should be directed to the craftyjs/demos repository.

After cloning this site repo, the demo files won't be available immediately. To view them, do

# clone the repo
$ git clone https://github.com/craftyjs/craftyjs.github.com.git
$ cd craftyjs.github.com/
# setup the demo submodule on your PC if it isn't already
$ git submodule init
# fetch the demo submodule files
$ git submodule update

To pull the latest changes from the demos repository, do

# setup submodule and fetch files
# don't worry, it won't do anything if you've done so already
$ git submodule init
$ git submodule update
# change to submodule
$ cd demos/
# you are now in separate git repo belonging to this submodule
# all git commands are directed to this submodule
# update the submodule
$ git checkout master
$ git fetch origin
$ git rebase origin/master
$ cd ..
# you are now main git repo again
# add the HEAD change of the submodule
$ git add demos
# commit now, etc
...

craftyjs.github.com's People

Contributors

ahilles107 avatar bradengroom avatar brokndodge avatar bryant1410 avatar budda avatar cdosborn avatar chasebro avatar ddeaguiar avatar dkapadia avatar gopalindians avatar jameskbride avatar joeyespo avatar jon-lewis avatar kevinsimper avatar louisstow avatar mkucko avatar mucaho avatar nithinbekal avatar plfstr avatar sad-pixel avatar sebring avatar shabda avatar shashwat986 avatar sorenbs avatar starwed avatar stevensona avatar teddybear06 avatar vxjasonxv 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.