Steps to setup baseproject-ui template for any angular development
-
Install node and make sure the executables are added to the path
-
Install ruby and make sure the executables are added to the path
-
Install bundle using "gem install bundle"
-
Install git and make sure the executables are added to the path
-
Install grunt-cli as a global package using "npm install grunt-cli -g"
-
Install bower as a global package using "npm install bower -g"
-
Install karma-cli as a global package using "npm install karma-cli -g"
-
git clone the baseproject-ui using "git clone [email protected]:windmillgmbh/baseproject-ui.git"
-
Rename the baseproject-ui folder to the folder name of your preference
-
Using command prompt change to the renamed folder.
-
Install the node modules using "npm install"
-
Install the gem modules using "bundle install"
-
Install the bower modules using "bower install"
-
Install selenium and chrome web browser for e2e tests using ">node .\node_modules\protractor\bin\webdriver-manager update"
-
For development execute "grunt serve" and access "http://localhost:9000/#/sample
-
For unit testing execute "grunt unit"
-
For e2e testing execute "grunt serve" in one command window and after it starts the server execute "grunt e2e" in other command window