Skip to content

Getting started

Nicolas A. Botello Jr edited this page Mar 6, 2016 · 2 revisions

#Getting Started ##Create initial app <> = replace with whats inside remove <>

#creates a starter project
ionic start <nameOfApp><templateName>

##Install Testing Libraries

npm install karma --save-dev
npm install karma-jasmine --save-dev
bower install angular-mocks --save-dev

Note: Always make sure you install the version of angular-mocks that is the same version as the Angular library included in Ionic. TDD

npm install -g karma-cli --save-dev
npm install -g phantomjs --save-dev

Note: if you want to use another browser, you'll have to install a launcher for it, so that Karma can call it. Chrome and PhantomJS launchers are included with the default installation.
BDD

npm install protractor --save-dev

Elementor

helps you find selectors to use to select items

npm install elementor -g
# Start the server
webdriver-manager start
elementor http://localhost:8101

Clone this wiki locally