43e1e4beccaef3943490dfe8b2ae4290439714a6
[yaffs-website] / vendor / drupal / console-en / README.md
1 # drupal-console-en
2
3 ## Usage
4
5 Drupal Console project it's installed per each Drupal 8 website with English language by default.
6
7 To install Drupal Console package in other languages check the packages available at [https://packagist.org](https://packagist.org)
8
9
10 ### Install Drupal Console
11
12 To install the appropriate version of Drupal Console project for your drupal installation, run the following composer command
13
14 ```
15 $ composer require drupal/console:~1.0 --prefer-dist --optimize-autoloader
16 ```
17
18 ### Install Drupal Console launcher
19
20 In order to avoid conflicts between Drupal release and have a Drupal Console version between major and minor releases in Drupal,  a Drupal Console launcher was created. n order to facilitate to load the Drupal Console commands available to each
21 Drupal 8 website,
22  
23 Following the instruction below you could install the global application for Drupal Console launcher. 
24
25 ```
26 $ curl https://drupalconsole.com/installer -L -o drupal.phar
27 # Or 
28 $ php -r "readfile('https://drupalconsole.com/installer');" > drupal.phar
29
30 $mv drupal.phar /usr/local/bin/drupal
31 $ chmod +x /usr/local/bin/drupal
32 ```
33
34 ### Contribute
35
36 If you want to contribute to this translation, you need to follow this steps
37
38 - Fork this repository following this link [https://github.com/hechoendrupal/drupal-console-en#fork-destination-box](https://github.com/hechoendrupal/drupal-console-en#fork-destination-box)
39 - Clone your repostory forked in your local machine.
40 - Set up upstream
41
42 In order to be updated with other contribution you must to setup a connected with main repository using the following git command
43
44 ```
45 $ git remote add upstream git@github.com:hechoendrupal/drupal-console-en.git
46 ```
47
48 To fetch the latest contribution before to start, you must run the next commands
49 ```
50 $ git fetch upstream
51 $ git merge upstream/master
52 ```
53
54 N.B: Push your changes to your forked repository in order to create PR per day to avoid any conflicts with other contributors.