Giter VIP home page Giter VIP logo

xeno_robo's Introduction

Xeno Robo

Robo commands for developing websites at Xeno Media.

Getting Started

Installation

Install with Composer by running:

composer global require xenomedia/xeno_robo

or

composer global require consolidation/cgr
composer global remove consolidation/robo
cgr xenomedia/xeno_robo

Create Robo File

In the root of your project create RoboFile.php file. Extend the class based on the project you are working on.

Example Drupal 7 RoboFile.php:

<?php

use XenoMedia\XenoRobo\Robo\Drupal\BaseDrupalD7;

/**
 * Provides Drupal 7 robo commands.
 */
class RoboFile extends BaseDrupalD7 {

}

?>

Example Drupal 8 RoboFile.php:

<?php

use XenoMedia\XenoRobo\Robo\Drupal\BaseDrupalD8;

/**
 * Provides Drupal 8 robo commands.
 */
class RoboFile extends BaseDrupalD8 {

}

?>

Example Wordpress Robo File:

<?php

use XenoMedia\XenoRobo\Robo\Wordpress\BaseWordpress;

/**
 * Provides Wordpress robo commands.
 */
class RoboFile extends BaseWordpress {

}

?>

Create robo.yml.dist file

Create a yml file that looks like this in the root of your project:

site:
  grunt_path: # Leave blank if no grunt.
  root_path: # Leave blank if same as project path.
  live_domain: # Used for WP Search and replace
  local_domain: # Used for WP Search and replace
database:
  database:
  user:
  password:
# `robo db:get` settings
# Pull the DB from Pantheon.
pantheon:
  site_name:
  env:
# Pull the DB from SSH.
stage:
  site_name: # The name of the *sql.gz file to get. If the file name is `example.sql.gz` then enter `example`
  user: # Staging ssh user.
  host: # Staging ssh host.
  port: # SSH port number.
  backup_location: # Path to directory where backups are stored.

xeno_robo's People

Contributors

albertski avatar michaelpporter avatar

Watchers

 avatar  avatar

xeno_robo's Issues

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.