Skip to content

Latest commit

 

History

History
63 lines (42 loc) · 1.9 KB

readme.md

File metadata and controls

63 lines (42 loc) · 1.9 KB

cmx.js - a library for authoring xkcd-style comixes

Please visit cmx.io for a live example.

Note: Source for this comix strip is in app/edit/sample.html.

Development

Most of the files were generated by Yeoman. Actual cmx.js sources are located in app/lib.

Dependencies

Initial setup

git clone git://github.com/darwin/cmx.js.git
cd cmx.js
npm install
bower install

Hacking

cd cmx.js
grunt server
=> yeoman will open browser with editor and sample.html (http://localhost:3501)

Deploy

  • ruby+rake must be available
  • cmx.io repository checkout is expected at same directory level as cmx.js
  • ask for push rights to darwin/cmx.io or just keep forked version and let me pull your changes

Initial setup:

git clone git://github.com/darwin/cmx.io.git
cd cmx.io
git checkout gh-pages
cd ..

My workflow:

cd cmx.js
rake build
cd ../cmx.io
git commit -m "published a new version!"
git push -u origin gh-pages

=> http://cmx.io should reflect the changes in a few minutes

Acknowledgements

License: MIT