Skip to content

Instantly share code, notes, and snippets.

@newtriks
Last active November 7, 2015 13:29
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save newtriks/b3b0c9ec068af9cb05e3 to your computer and use it in GitHub Desktop.
Save newtriks/b3b0c9ec068af9cb05e3 to your computer and use it in GitHub Desktop.
Project setup for: angular, gulp, bower, testem and protractor
  1. Install global dependencies: npm install -g browserify gulp bower testem protractor
  2. Install local npm dependencies: npm install
  3. Install local bower dependencies: gulp bowerInstall
  4. Install Protractor specific webdrivers: webdriver-manager update
  5. Build project into dist directory: gulp build
  6. Run application on local webserver plus watch for changes: gulp watch
  7. Run unit tests: testem
  8. Run end-to-end tests: gulp protractor (gulp watch must be running in as another process i.e. in another console window).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment