2017 © Pedro Peláez
 

project yii2-simplegitpublish

yii2 git publish test system

image

dreamzml/yii2-simplegitpublish

yii2 git publish test system

  • Thursday, July 19, 2018
  • by dreamzml
  • Repository
  • 1 Watchers
  • 0 Stars
  • 52 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 30 % Grown

The README.md

Simple Git publish

This Module Extension for Yii 2, Small teams, multi project development, testing model, (*1)

For license information check the LICENSE-file., (*2)

Installation

The preferred way to install this extension is through composer., (*3)

Either run, (*4)

php composer.phar require dreamzml/yii2-simplegitpublish --prefer-dist

or add, (*5)

"dreamzml/yii2-simplegitpublish": "*"

to the require-dev section of your composer.json file., (*6)

Usage

Once the extension is installed, simply modify your application configuration as follows:, (*7)

return [
    'modules' => [
        'gitpublish' => [
            'class' => 'dreamzml\SimpleGitPublish\Module',            
            'allowedIPs' => ['127.0.0.1', '::1'],            // if set ['*'] allow all ip
            'monitors'   => [
                    'MASTER'=>'123456',    // MASTER allow push to master branch     
                    'TESTER'=>'111', 
                ], //allow users, if set * allow all user
        ],
    ],
    // ...
];

You can then access Gii through the following URL:, (*8)

http://localhost/path/to/index.php?r=gitpublish

or if you have enabled pretty URLs, you may use the following URL:, (*9)

http://localhost/path/to/index.php/gitpublish

The Versions

19/07 2018

dev-master

9999999-dev

yii2 git publish test system

  Sources   Download

MIT

The Requires

 

by Avatar dreamzml