Make sure the following are installed on your system:
- NodeJS and Node Package Manager, which is part of the NodeJS installation (download)
- the Gulp build system (installed via NPM:
npm install gulp -g
)
Run the following commands (in the deck directory) to get all dependencies installed in deck and to start the server:
npm install
gulp
The app will start up on localhost:9000.
As you make changes locally, Gulp's livereload plugin watches your target directories and automatically updates the running application, refreshing the page as changes are detected.
To prevent karma & jshint from running, run gulp with NODE_ENV=dev gulp
.
To run e2e tests, first make sure protractor is installed and webdriver is running:
npm install -g protractor
webdriver-manager update
webdriver-manager start
Then, run the test suite via gulp test:e2e
.