Skip to content

This tool in Python that generates simple DevOps automation scripts for common tasks like deploying a web application to a cloud platform.

License

Notifications You must be signed in to change notification settings

AashooSharmaTech/auto-create-tool

Repository files navigation


DevOps Script Generator

GitHub stars GitHub forks GitHub watchers

A command-line tool for generating DevOps-related scripts such as Dockerfiles and docker-compose.yml files based on user inputs.

Table of Contents

Features

  • Interactive script generation.
  • Support for Dockerfiles.
  • Support for docker-compose.yml files.
  • Customizable configuration options.
  • Easy-to-use command-line interface.

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Python 3.x installed.
  • pip for installing Python packages.

Installation

  1. Clone this repository:

    git clone https://github.com/AashooSharmaTech/auto-create-tool.git
  2. Navigate to the project directory:

    cd auto-create-tool
  3. Install the required dependencies using pip:

    pip install -r requirements.txt

Usage

Generate a Dockerfile

To generate a Dockerfile, run the following command:

python main.py

Follow the on-screen prompts to customize your Dockerfile, including the base image, instructions, and more. The generated Dockerfile will be saved in the ./my_files/ directory.

Generate a docker-compose.yml file

To generate a docker-compose.yml file, choose option 2 when running the tool:

python3 main.py

Follow the on-screen prompts to configure your services, including container names, image names, environment variables, and more. The generated docker-compose.yml file will be saved in the project directory.

Contributing

Contributions are welcome! Please feel free to fork this repository, make changes, and submit a pull request. If you encounter any issues or have suggestions for improvements, please create an issue.

License

This project is licensed under the MIT License - see the LICENSE file for details.


About

This tool in Python that generates simple DevOps automation scripts for common tasks like deploying a web application to a cloud platform.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published