# install angular cli package
npm install --global @angular/cli
ng
ng new --help
ng new demoApp --defaults --minimal --dry-run
ng new demoApp --defaults --minimal
cd demoApp
# edit with vscode
code .
npm install --silent
# discovery command
npm run
# start up command
npm run start
How to Clone first time
git clone <repo>
cd angular-automation
code .
# Need to install requirements
npm install --silent
# startup and listen on port 1234
npm run start
# show your tester how to call PowerShell functions and how to start the appfunctioncontainer-kill-all {
docker container rm $(docker container ls -aq) -f
docker image rm $(docker image ls -aq) -f
}
functionangular-automation-run{
container-kill-all
docker container run -d -p 2222:80/tcp jalalhejazi/angular-automation-2022:latest
chrome http://localhost:2222/
}
angular-automation-run
DevOps Automation
When Deployment is automated, then 95% of your time goes to development and research
No waste time on Humans conflicts
No more "It works on my machine"
About
Learning Angular Automation and How to Think in Modern WebApp Development from End2End