- Clone the repo
- Run
npm install
- Run
NODE_ENV=development gulp
- Go to
localhost:8889
to display the app - Go to
localhost:8889/testrunner.html
to see your tests - Any changes to
app
orstyles
folder will automatically rebuild tobuild
folder - Both tests and application changes will refresh automatically in the browser
- Run
gulp test
to run all tests with phantomJS and produce XML reports
- Run
NODE_ENV=production gulp deploy
- build/: Where the app automatically builds to. This is where you launch your app in development
- dist/: Where the deployed code exists, ready for production
- sass/: Where you put your scss files
- specs/: Where you put your test files
- gulpfile: Gulp configuration