Skip to content

ZuoGuocai/walle-web

 
 

Repository files navigation

Walle - A Deployment Tool

Walle is a deployment tool written in PHP with yii2 out of the box.

See walle website for more information and documentation. 查看中文说明, star me if like : )

  • User signup by admin/develop identity
  • Developer submit a task, deploy task
  • Admin audit task
  • Multiple project
  • Multiple Task Parallel
  • Quick rollback
  • Group relation of project
  • Task of pre-deploy(e.g: test ENV var)
  • Task of post-deploy(e.g: vendor, java's mvn ant)
  • Task of post-release(e.g: restart service)
  • Checkout file md5

Requirements

  • bash(git、ssh)
  • LNMP、LAMP(php5.4+)
  • composer

That's all! It's base package of PHP envirament!

Installation

git clone git@github.com:meolu/walle-web.git
cd walle-web
vi config/web.php # set up module db mysql connection info
composer install  # error cause by bower-asset, install:composer global require "fxp/composer-asset-plugin:*"
./yii migrate/up  # migrate database

Quick Start

  • set up nginx/apache webroot walle-web/web
  • config email smtp(config your company's email smtp after trying in case leakaging Information)
    vi config/params.php
    'support.email' => 'service@huamanshu.com', // the same with `username` of the module of `config/web.php`
    'mail-suffix'   => [
        'huamanshu.com',
    ]
    
    vi config/web.php +25
    # config module of mail smtp
    'class'      => 'Swift_SmtpTransport',
    'host'       => 'ip or host',            # smtp host
    'username'   => 'service@huamanshu.com', # smtp send user
    'password'   => 'password',              # smtp password
    'port'       => 25,                      # smtp port
    'encryption' => 'tls',                   # smtp agreement
  • signup a admin user(admin/admin exists),then config a project
  • signup a develop user(demo/demo exists),submit a task
  • admin audit task
  • deveop deploy the audited task

To Do List

  • a manager of static source

Update

git pull
./yii migrate

screenshot

project config

signup a admin/developer

sumbit a task

list of task

deploy flow

demo show

CHANGELOG

CHANGELOG

Discussing

Packages

No packages published

Languages

  • HTML 78.2%
  • PHP 11.4%
  • CSS 7.8%
  • JavaScript 2.6%