Push AngularJS 6.0.3 prod files to GitHub – Step by Step

//Push AngularJS 6.0.3 prod files to GitHub – Step by Step

Push AngularJS 6.0.3 prod files to GitHub – Step by Step

PS D:\WebSites\curso-angular2> ng new project-github
PS D:\WebSites\curso-angular2> cd .\project-github\
PS D:\WebSites\curso-angular2\project-github>npm install rxjs@6.3.3 –save
PS D:\WebSites\curso-angular2\project-github>ng serve
PS D:\WebSites\curso-angular2\project-github>git clone https://github.com/gcjunior/test.git
PS D:\WebSites\curso-angular2\project-github>cd test
PS D:\WebSites\curso-angular2\project-github\test>git init
PS D:\WebSites\curso-angular2\project-github\test>rm -r *
PS D:\WebSites\curso-angular2\project-github\test>git add .
PS D:\WebSites\curso-angular2\project-github\test>git commit -m “test”
PS D:\WebSites\curso-angular2\project-github\test>git push -f origin master
Make updates in the code
PS D:\WebSites\curso-angular2\project-github>ng serve
PS D:\WebSites\curso-angular2\project-github>ng build –prod=true –outputPath=test –baseHref=/test/
PS D:\WebSites\curso-angular2\project-github>cd test
PS D:\WebSites\curso-angular2\project-github\test>git init
PS D:\WebSites\curso-angular2\project-github\test>git remote add origin https://github.com/gcjunior/test.git
PS D:\WebSites\curso-angular2\project-github\test>git add .
PS D:\WebSites\curso-angular2\project-github\test>git commit -m “test”
PS D:\WebSites\curso-angular2\project-github\test>git push -f origin master

By |2020-08-07T14:32:23-06:00August 7th, 2020|Web Developer|Comments Off on Push AngularJS 6.0.3 prod files to GitHub – Step by Step

About the Author: