Giter Club home page Giter Club logo

rendercad's Introduction

About

rendercad

computer-aided design for "infrastructure as code" files to be used on Render.

THIS IS EXPERIMENTAL SOFTWARE AND SHOULD NOT BE USED FOR CRITICAL INFRASTRUCTURE

Work to be done

  • refactor to a more OOP design
    • each machine type has a:
      • type {'service', 'database', 'envvargroup'}
      • template_file
      • modifiable_fields
      • ???
  • have user select services, then databases, then envVarGroups (implies being able to separate machines by type)
  • have user be able to interactively supply non-default values

Proposed flow:

  1. If a render.yaml exists, throw up a prompt to either exit or continue by overwriting existing file
  2. Prompt user to select services to include
    1. for each selected service, present a sane default config and ask user if they'd like to modify it
    2. show user list of modifiable fields and allow them to select a field to modify
    3. repeat until user gives some kind of "done" input
  3. Prompt user to select databases to include
    1. for each selected database, present a sane default config and ask user if they'd like to modify it
    2. show user list of modifiable fields and allow them to select a field to modify
    3. repeat until user gives some kind of "done" input
  4. Prompt user to select envVarGroups to include
    1. for each selected envVarGroup, present a sane default config and ask user if they'd like to modify it
    2. show user list of modifiable fields and allow them to select a field to modify
    3. repeat until user gives some kind of "done" input

Usage

git clone [email protected]:zachwick/rendercad
poetry install 
poetry run rendercad

Better usage docs forthcoming.

Legal

Copyright 2022 zach wick [email protected]

Licensed under the GNU AGPLv3 or later

rendercad's People

Contributors

zachwick 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.