Development repository for Gladius engine core. If you're looking to get started with using Gladius, please checkout the main repository here.
Before you can build and test, you'll need to set up your development environment:
-
Make sure you have a recent version of
node
installed (>=0.6). See here for details on how to do this for your platform. -
Install
jake
globally.npm install -g jake
-
Clone the repository.
git clone git://github.com/gladiusjs/gladius-core.git
-
Link
jake
into the project directory. Do this from inside the new working copy you just cloned. Note that on some platforms you may need to do this as superuser.npm link jake
-
Run
jake
in the project directory. You should see the following output:jake lint # lint code jake build # compile code jake clean # remove compiled code jake serve # start web server in project directory
You will need a web server that can serve files from the project directory. Follow these instructions if you would like to use the server that comes with Gladius.
-
Run the web server.
jake serve
-
Go to the following URL in your browser to view the tests. Be sure to use a recent version of Firefox or Chrome.
http://localhost:8080/tests
You can also run lint tests using jake lint
.
You can build both the minified and unminified versions of the modules by running jake build
.
Build output is stored in the dist
directory.
See LICENSE for more information.
All our logos are handmade by Sean Martell.