Giter Club home page Giter Club logo

devstack's Introduction

DevStack

A Micro Framework for Development Stacks.

What is DevStack?

Ever find yourself running tons of bash/powershell/batch/perl/ruby/{insert tool/language/utility here} scripts to deploy your development stack? DevStack provides an implementation agnostic interface to managing your development stack scripts so that you can build tools to automate your stack deployments.

Why I created DevStack?

I am working on a project at work to automate our stack deployment down to a "single-click" solution. My boss had previously crafted an impressive bash automation which achieved that. However, I felt that it lacked certain features. I added a few improvements to that utility combining the features of dialog and Associative Arrays in bash. However, it soon got too "hacky" and cumbersome to manage. Also, bash scripts aren't the easiest to read through when trying to understand what it does. This motivated me to move to a python port of the script. The level of versatility that python provided to the script was unparalleled. After a couple rounds of feedback, I decided to implement a framework that establishes the following ideals:

  • Abstraction of a set of bash commands as a Development Stack (DevStack) and the logical constituents as a Layer of the stack.
  • Separation of Concerns - Framework Interface is made aware of Layer definitions at runtime.
  • Shared Configuration for Layers of a Stack - Layers can share properties.
  • Persistant Configuration - Maintain a state of the previous settings for the Stack to improve developer usability.
  • Monitor - Always keep the developer informed of the state of the stack.

Installation

pip install -i https://test.pypi.org/simple/ devstack

I will move the package to PyPI's production ready index when I complete a stable build.

To-do

  • Publish to PyPI's test index
  • Inline comments for deploy method (Code level documentation)
  • Documentation & API Reference
  • Example directory with at least one example
  • More examples

Framework Architecture

Framework Architecture

devstack's People

Contributors

cyberbeast avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.