d3t-distribution/project-dependencies 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

d3t-distribution/project-dependencies

Composer 安装命令:

composer require d3t-distribution/project-dependencies

包简介

README 文档

README

Contributors Forks Stargazers Issues MIT License

Table of Contents
  1. About The Project
  2. Getting Started
  3. Roadmap
  4. Contributing
  5. License
  6. Contact
  7. Acknowledgments

About The Project

This project allows to easily manage dependencies between projects.

(back to top)

Built With

(back to top)

Getting Started

Prerequisites

On your machine you must have :

  • Make
  • Docker

Installation

Create a .dependencies file that must be in JSON format.
Here is an example of a file with a dependency.

{
  "my-project-name": {
    "path": "my-project-path",
    "repository": "git@github.com:my-project.git"
  }
}

path must be relative to the parent directory.
repository git repository url.

Then edit your project make to add the following lines :

DEPENDENCIES=
CMD_start = docker run -ti --rm -v $(PWD)/../:/mnt/projects/ -e PROJECTNAME=my-project-name -e COMMAND=start -e DEPENDENCIES=${DEPENDENCIES} d3tdistribution/projet-dependencies

start: env
	$(shell ${CMD_start})

PROJECTNAME is the name of the project.
COMMAND is the command to execute for the dependent projets.
DEPENDENCIES is the list of dependent projects already started in order to avoid project circular dependencies.

Roadmap

  • Clone dependencies repositories
  • Change dependencies.json to .dependencies file
  • Support .dependencies.local file
  • Support absolute path

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

统计信息

  • 总下载量: 2
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 3
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2021-12-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固