Git Product home page Git Product logo

deployer's Introduction

Deployer

StyleCI Build Status Code Coverage

Software License Laravel Version Latest Version StackShare Gitter

Deployer is a PHP Application deployment system powered by Laravel 5.4, written & maintained by Stephen Ball.

Check out the releases, license, screenshots and contribution guidelines.

See the wiki for information on system requirements, installation & upgrade instructions and answers to common questions.

What it does

  • Deploys applications to multiple servers accessible via SSH
  • Clones your project's git repository
  • Installs composer dependencies
  • Runs arbitrary bash commands
  • Gracefully handles failure in any of these steps
  • Keeps a number of previous deployments
  • Monitors that cronjobs are running
  • Allows deployments to be triggered via a webhook

What it doesn't do

License

Deployer is licensed under The MIT License (MIT).

1、简介 Deployer是一个基于Laravel 5.1的、免费的、开源的PHP应用部署工具。由Stephen Ball编写和维护。

2、GitHub https://github.com/REBELinBLUE/deployer

3、功能特性 通过SSH部署应用方到多台服务器 克隆项目git仓库 安装composer依赖 运行任意bash命令 优雅地处理上述步骤出现的错误 保持之前的部署 监控cronjob的运行 允许通过webhook触发部署 4、生产环境中使用 本项目GitHub仓库代码的master分支是开发分支,不能用于实际生产环境,当稳定后代码修改会合并到release分支并被打上发布标签。推荐在生产环境中使用最新的release分支。

5、系统要求 安装运行Deployer需要系统具备以下条件:

PHP 5.5.9+ 数据库,推荐MySQL或PostgreSQL Composer Redis Node.js 适用于Laravel的队列系统,推荐Beanstalkd,不过Redis也可以 可选项

Supervisor用于监听队列和Node.js套接字服务器的运行 如果有大量的并发需要一台缓存服务器,否则默认的文件缓存就足够了 6、安装 克隆仓库

$ git clone https://github.com/REBELinBLUE/deployer.git 拉出最新版本

$ git checkout 0.0.21 安装依赖

$ composer install -o --no-dev $ npm install --production 运行安装器

$ php artisan app:install 编辑额外配置(可选)

$ editor .env 7、更新 获取最新代码

$ git fetch --all $ git checkout 0.0.21 更新依赖

$ composer install -o --no-dev $ npm install --production 运行更新

$ php artisan app:update

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.