Skip to content

AutoWebDeploy

Pankaj baghel edited this page Jul 16, 2025 · 2 revisions

Author: Pankaj Baghel (GitHub: shivam-1320)

AutoWebDeploy AutoWebDeploy is a beginner-friendly Bash script that automates the deployment of web applications from a GitHub repository to a Linux server using Apache or NGINX.

It’s designed for personal projects, testing environments, or learning automation using Bash. You just provide your repo — it does the rest.

Features Clone a GitHub repository to a target web directory Automatically install Apache or NGINX (user choice) Clean and update target directory before deployment Set permissions correctly for web server usage Restart the web server after deployment Color-coded CLI for better user interaction Getting Started

  1. Clone the Repository git clone cd AutoWebDeploy

Then run with sudo ./AutoWebDeploy.sh

image

**demo video **

https://drive.google.com/file/d/1RRv8dZvkQ3ZbC-NeyYM6ejat1-01g05O/view?usp=sharing

⚠ Disclaimer

Please do not blindly trust or run these scripts in production environments. I’m a beginner still learning Bash scripting, and this repository is a work in progress. I frequently update and revise these scripts — mistakes are possible, and things may break. Always review and test scripts in a safe environment before using them on real systems.

Requirements

Linux system (Ubuntu, Debian, Kali, etc.)

bash shell

Root privileges (for most scripts)

Credits

Created by Pankaj Baghel

Contact

You can reach me on GitHub by opening an issue in this repository,
or visit my profile: (https://github.com/shivam-1320)

Feel free to send me a message or create an issue for collaboration and questions.

Clone this wiki locally