This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
drupalcampbristol/vendor/drupal/console-en/README.md

42 lines
1.5 KiB
Markdown
Raw Normal View History

2018-11-23 12:29:20 +00:00
# drupal-console-en
## Usage
Drupal Console project it's installed per each Drupal 8 website with English language by default.
To install Drupal Console package in other languages check the packages available at [https://packagist.org](https://packagist.org)
### Install Drupal Console
To install the appropriate version of Drupal Console project for your drupal installation, run the following composer command
```
$ composer require drupal/console:~1.0 --prefer-dist --optimize-autoloader
```
### Install Drupal Console launcher
Drupal Console launcher was created to avoid conflicts between major and minor releases. Drupal Console binary commands are available to every Drupal 8 instance on the machine.
To install Drupal Console launcher globally follow the instruction below.
```
$ curl https://drupalconsole.com/installer -L -o drupal.phar
# Or
$ php -r "readfile('https://drupalconsole.com/installer');" > drupal.phar
$mv drupal.phar /usr/local/bin/drupal
$ chmod +x /usr/local/bin/drupal
```
### Contribute
Follow these steps to contribute to the current translation:
- [Project requirements](https://docs.drupalconsole.com/en/contributing/project-requirements.html)
- [Getting the project](https://docs.drupalconsole.com/en/contributing/getting-the-project.html)
- [Running the project](https://docs.drupalconsole.com/en/contributing/running-the-project.html)
N.B: Push your changes to your forked repository in order to create PR per day to avoid any conflicts with other contributors.