Skip to content

Custom CI/CD tool for building and deploying webapp on a remote server.

Notifications You must be signed in to change notification settings

michalakadam/angular-build-deploy-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tool for building and deploying Angular web application on remote server

Requirements

  • access over ssh to remote server hosting web app
  • web app already served using nginx(https://nginx.org/en/docs/)
  • code of the web app stored in Github repository

Instructions

If you don't have curl installed, run
sudo apt install curl

Download installation script using curl
curl https://raw.githubusercontent.com/michalakadam/angular-build-deploy-tool/master/install.sh -o ./install_angular_build_deploy_tool.sh

Make the installation script executable by running
chmod u+x ./install_angular_build_deploy_tool.sh

Run the installation script by typing
./install_angular_build_deploy_tool.sh

Fill all the required information when prompted by the installation script.
After successful installation, tool is ready.
Now everytime you want to deploy commited and pushed changes to the remote server type (in source code directory)
./deploy.sh
If everything goes well, you can see your local changes in the deployed webapp.

deploy.sh flags

-nt, --no-tests
      skip unit tests execution

Further reading

Check out my article on hosting Angular web app on remote server

Do you have any problems with running this program?
Do you see any way this project can be improved?
Don't hestitate to write an email to adam.michalak.dev@gmail.com

About

Custom CI/CD tool for building and deploying webapp on a remote server.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages