DEV Community

Andoromain
Andoromain

Posted on

πŸš€ Boost Your Dev Workflow: Shell Scripts to Automate NGINX/Apache + Laravel/React/Vue Setup

Hey devs! πŸ‘‹
Tired of manually setting up your virtual hosts or Laravel projects? Say goodbye to repetitive tasks and hello to automation! I built a set of shell scripts to speed up and simplify the creation of development environments β€” and I’m excited to share it with you.

πŸ‘‰ GitHub Repo: Andoromain/SCRIPT-UTILS

πŸ”§ What’s Inside?
This repo is a toolkit of bash scripts designed to:

βœ… Automate the creation of virtual hosts for Apache & NGINX
βœ… Bootstrap Laravel projects in seconds
βœ… Delete old VHosts easily
βœ… Handle NGINX/Apache config files dynamically
βœ… Support frontend projects (React, Vue) with proper setup

πŸ“‚ Scripts Breakdown

Script Description

  • createLaravelProject.sh Instantly creates a new Laravel project with all the essentials.
  • createNewVhostApache.sh Adds a new Apache virtual host.
  • createNewVhostNginx.sh Adds a new NGINX virtual host.
  • deleteVhostApache.sh Deletes an Apache virtual host.
  • deleteVhostNginx.sh Deletes an NGINX virtual host.
  • adminsys.sh Admin helper script to tie it all together.
  • install.sh Script to install required dependencies and prepare the system.

✨ Why Use This?

🧠 Zero Guesswork – Focus on code, not configs

πŸ’¨ Fast Setup – From idea to working project in under 2 minutes

πŸ› οΈ Consistent Environments – Reproducible project setup

πŸ” Reusability – Ideal for freelancers, teams, and agencies managing multiple projects

πŸ› οΈ Prerequisites

  • Unix-based OS (Linux or macOS)
  • Apache or NGINX installed
  • Laravel CLI (for Laravel scripts)
  • Bash shell

πŸš€ Quick Start

git clone https://github.com/Andoromain/SCRIPT-UTILS.git
cd SCRIPT-UTILS
chmod +x *.sh
./install.sh

🀝 Contributions & Feedback

Have an idea? Found a bug?
Feel free to open issues or submit a PR! Your feedback is gold πŸ’Ž

πŸ“Œ Final Thoughts
This is just the beginning. I’m planning to add:

Docker support 🐳

SSL certificate automation with Let's Encrypt πŸ”’

If this project helps you, a ⭐️ on GitHub would mean the world!

πŸ‘‰ Star the Repo
πŸ‘‰ Follow me on GitHub

Top comments (0)