Skip to content

This repo provides the set of batch scripts that will automate the repetitive tasks for the developer and helps to save some time. For eg: Cloning the multiple repos for the microservices application, running those application and installing the dependencies.

License

Notifications You must be signed in to change notification settings

gaju-01/BatchScripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🛠️ Project Automation Scripts

This repository contains batch scripts (.cmd files) designed to automate the setup and execution of various REST APIs and web applications in your local environment. With a single click, these scripts handle:

  • Cloning the project repository
  • Installing dependencies (for web apps)
  • Building and running Maven-based and React applications

📁 Structure

Each .cmd file is named after its corresponding project and performs the setup automatically. For example:

MyWebApp.cmd       # Automates setup and run for the 'MyWebApp' project
MyAPIService.cmd   # Automates setup and run for 'MyAPIService'

🚀 Usage

  1. Clone this repository or download the .cmd files directly.
  2. Double-click the desired .cmd file to:
    • Clone the project repository
    • Navigate into the project folder
    • Install necessary dependencies
    • Run the application (via mvn spring-boot:run or equivalent)

Alternatively, run from command prompt:

> MyWebApp.cmd

🧪 Example .cmd Flow

Here’s what a script typically does:

git clone https://github.com/username/project-name.git
cd project-name
call mvn clean install
call mvn spring-boot:run

For frontend apps:

git clone https://github.com/username/frontend-app.git
cd frontend-app
call npm install
call npm start

📌 Notes

  • Customize each script with the correct repository URL and commands.
  • Ensure the batch files have proper permissions and are executed in a secure environment.

Screeshot of Maven App Running in Command Prompt

SmartCloner

About

This repo provides the set of batch scripts that will automate the repetitive tasks for the developer and helps to save some time. For eg: Cloning the multiple repos for the microservices application, running those application and installing the dependencies.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published