-
Notifications
You must be signed in to change notification settings - Fork 792
Development Environment
Julian Descottes edited this page Jan 15, 2017
·
11 revisions
To build Piskel, you need to :
- install node and grunt-cli
npm install grunt-cli -g
. - clone the repository https://github.com/juliandescottes/piskel.git
- run
npm install
- install CasperJS (needed for integration tests)
grunt
will build piskel into the /dest
folder at the root of your repository.
grunt serve
will :
- build the application
- start a server on port 9001 (serving
dest
folder) - open a browser on
http://localhost:9001
- watch for changes, and rebuild the application if needed
grunt play
will :
- start a server on port 9901 (serving
/src
folder) - open a browser on
http://localhost:9901/?debug
With ?debug
, piskel will use unpackaged and unminified files.
grunt test
will :
- leading indent validation
- perform jshint validation
- execute unit tests
- execute integration tests
Travis is setup for running the grunt test task for each pull request on Piskel.