Giter Club home page Giter Club logo

deployer-sumo's Introduction

Deployer Sumo recipe

Recipe for usage with Deployer. It includes tasks specific for SumoCoders.

Installing

composer require tijsverkoyen/deployer-sumo --dev

Include recipes in deploy.php file.

require __DIR__ . '/vendor/tijsverkoyen/deployer-sumo/sumo.php';

Available tasks

sumo:assets:build

Build your project's assets using Webpack and NVM.

sumo:db:create

Creates a database on our dev server. This task can will only run on the host with the stage "staging".

It will output the credentials.

sumo:db:info

This task will output the credentials of the existing database on the dev server. This task can will only run on the host with the stage "staging".

sumo:db:create-local

Creates a database on your local MySQL instance.

sumo:db:get

Run this task to replace your local database with the remote database. Be aware that no backup will be made.

sumo:db:put

Use this command to replace the remote database with your local database.

sumo:project:init

This is an aggregate task, it will run all the following tasks:

  • sumo:db:create-local
  • sumo:db:get
  • sumo:config:get
  • sumo:config:alter
  • sumo:files:get
  • sumo:assets:fix-node-version
  • sumo:assets:build

It can be used to locally set up a project that is already on the staging or production server.

sumo:files:get

Run this task to replace your local files with the remote files. Be aware that no backup will be made.

sumo:files:put

Run this task to replace the remote files with your local files. Be aware that no backup will be made.

sumo:notifications:deploy

Notify our webhooks on a deploy. This task is automatically added into the flow.

sumo:redirect:enable

Enable a redirect page, all traffic will be redirected to this page.

sumo:symlink:document-root

Creates the needed symlinks to link the document root to the correct folder.

sumo:opcache:reset-file

Clears opcache and statcache using a file strategy.

License

Licensed under the MIT license.

deployer-sumo's People

Contributors

davysumo avatar sanderdlm avatar stijnvrolijk avatar tijsverkoyen avatar

Watchers

 avatar

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.