From: Ben Beltran Date: Mon, 11 Aug 2014 23:52:20 +0000 (-0500) Subject: Prepares for bower X-Git-Tag: v0.1.3~2 X-Git-Url: https://git.r.bdr.sh/rbdr/serpentity/commitdiff_plain/eecd25c9188b5c045d89aa26d1d367dd5131d88f Prepares for bower --- diff --git a/.gitignore b/.gitignore index e5a4385..25d3c00 100644 --- a/.gitignore +++ b/.gitignore @@ -23,4 +23,4 @@ build/Release # Deployed apps should consider commenting this line out: # see https://npmjs.org/doc/faq.html#Should-I-check-my-node_modules-folder-into-git node_modules -bower_modules +bower_components diff --git a/README.md b/README.md index 3d2ebb0..4d73f18 100644 --- a/README.md +++ b/README.md @@ -93,6 +93,16 @@ Systems are called on every update, and they use components through nodes. Just run `engine.update(dt)` in your game loop :D +## Checking it in the frontend (dev). + +You can link the bower package (bower.json is in `lib/serpentity/` to +make paths cleaner), then link it again from the root directory and +spawn a python server (`python -m SimpleHTTPServer`). The test page +will be available in `http://localhost:8000/browser_test/` + +If you just want to use it, it's available as a bower package! + + ## TO-DO * Removing components diff --git a/browser_test/index.html b/browser_test/index.html index 9133ed5..3be1f38 100644 --- a/browser_test/index.html +++ b/browser_test/index.html @@ -2,13 +2,13 @@ Serpentity Browser Test - - - - - - - + + + + + + +