Lets build angular app through Jenkin and deploy to xampp server folder.
Install Java & Jenkin: • 1. Jenkins Tutorials: How to download...
Step 1: Install Java
Step2: Install Jenkin
Step 3: Configure jenkin
Step 4: Create Angular app
Step5: (If required) change base href in angular.json
Step 6: push to gitHub
Step 7: Configure build steps in Jenkin
Step 7.1: Add git URLs
Step 7.2: Add build steps
Step 8: Run build
Step 9: run xampp (of other server, change the copy target path according to your server location)
Step 10: run app like http://localhost/angular-jenkin
1. npm install
2. npm run ng -- build
3. robocopy dist/ D:/xampp/htdocs/ /E
@echo robocopy exit code: %ERRORLEVEL%
@if %ERRORLEVEL% GTR 3 ( echo robocopy ERROR )
@if %ERRORLEVEL% GTR 3 ( exit %ERRORLEVEL% )
@set ERRORLEVEL=0
Thumbnail generation: https://www.fotojet.com/
Video edit: Inshot app