Git Product home page Git Product logo

drupal-install-cli's Introduction

Drupal Install CLI

Provide a command for installing drupal with drush from the command line

This package should be used with one of Drupal Composer project.

Drupal Install CLI Screenshot

For now, plugin can install sites only with Drush, so it must be required in your project.


Requirements

Install

Via Composer

composer require awd-studio/drupal-install-cli

Or add a dependency on awd-studio/drupal-install-cli to your project’s composer.json file:

{
    "require": {
        "awd-studio/drupal-install-cli": "dev"
    }
}

Usage:

Just call command from CLI:

vendor/bin/drupal-install-cli drupal:site-install

Answer all questions and it'll be done.

You also may pass the options for configure installation. As example:

vendor/bin/drupal-install-cli drupal:site-install --db-host='localhost' --db-user='[MY_DB_USER]' --db-name='[MY_DB_NAME]' --db-pass='[MY_DB_PASS]'

Available options:

  • --db-host - Database host
  • --db-name - Database name
  • --db-user - Database user name
  • --db-pass - Database user password
  • --profile - Installation profile name
  • --site-name - Your future site name
  • --site-mail - Site E-mail
  • --admin-login - Admin user name
  • --admin-pass - Admin user password
  • --admin-mail - Admin user E-mail

drupal-install-cli's People

Contributors

awd-studio avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

sgml

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.