Coder Social home page Coder Social logo

faiyaz7283 / dcutil Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 0.0 178 KB

A utility tool for developers to help with their local developments.

License: MIT License

Makefile 11.22% Shell 82.19% Roff 6.58%
docker-compose docker docker-containers docker-setup docker-utility

dcutil's Issues

Running with more than one dcutil option throws Make invalid option

Scenario:
Running the following
dcutil -q -u
throws Make invalid option message
/.../usr/bin/make: invalid option -- u

Acceptance:

  • Running dcutil with an option plus other argument(s), including other option will only use the first option argument and ignore the rest
  • Only the -q | --quiet option can be combined with other non-option arguments.

Allow to auto detect external service dependencies and spin up services for projects.

Currently, when user issues a dc_up on a project, it will only trigger that particular project compose files to execute. However, if for instance a docker compose file adds external_links and dependencies to services outside of that compose file, user will have to manually have the services up first. Currently docker-compose or docker itself does not have any support for external dependencies. This feature has to be setup as a helper to first detect if there is any dependencies, then service up those dependencies, before executing the current project up.

Acceptance criteria:

  • Dependency services must be setup in separate docker-compose file, and must be added to .env PROJECTS var
  • User can set project external service dependencies via a variable similar to __SERVICE_DEPENDENCIES.
  • Allow __SERVICE_DEPENDENCIES to accept value consisting dependency project name, and optional service(s). If no service(s) have been defined, then, all services will be spun up.
  • If a dependency has dependencies, it should be set on __SERVICE_DEPENDENCIES as above.

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.