Skip to content

Commit

Permalink
[hechoendrupal#222] Russian: windows: translated and updated content.
Browse files Browse the repository at this point in the history
  • Loading branch information
VladimirAus committed Aug 6, 2016
2 parents 6062237 + 28493f8 commit 8a7a905
Show file tree
Hide file tree
Showing 10 changed files with 575 additions and 20 deletions.
61 changes: 61 additions & 0 deletions ca/getting/windows.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Installing Drupal Console on Windows
On Windows there are two ways to install drupal console. One uses Git Bash, the other uses a Windows command prompt. I recommend using the Git Bash utility from the Git for Windows (previously msysgit) program package, since this is the only way you can use drupal console without prefixing it with php.

## Using on Git Bash:

If you use Drupal Console on Git Bash, please install packages below:

* [Git for Windows](https://git-for-windows.github.io/)
* [Composer](https://github.com/composer/windows-setup)
* [PHP For Windows](http://windows.php.net/download/)
* [sqlite-tools-win32-x86](https://www.sqlite.org/download.html)

### Update PATH environment

After installation, you have to include php.exe and sqlite3.exe in your PATH environment variable.
For example, if you extracted "PHP For Windows" into "C:\php", and extracted "sqlite-tools-win32-x86" into "C:\sqlite", you can set PATH environment variable as below from command prompt.

```
SETX /M PATH "%PATH%;C:\php;C:\sqlite"
```

### Setup php.ini

Drupal Console require some extensions. please enable these extensions in your php.ini.

```
extension=php_gd2.dll
extension=php_pdo_sqlite.dll
```

We recommend to enable the following extensions to enable you to use your own language.
```
extension=php_intl.dll
extension=php_mbstring.dll
```

#### Define certificate

put certificate information provided by Git for Windows.
```
curl.cainfo = C:\Program Files\Git\usr\ssl\certs\ca-bundle.crt;
```

### Install Drupal Console globally using composer:
```
$ composer global require drupal/console:@stable
```

### You can now execute console using:

```
$ drupal
```

or execute one of the chain available, to execute a quick install execute the following command

```
$ drupal chain --file="C:\Users\username\.console\chain\quick-start.yml"
```

**NOTE:** You have to provide "Windows-style" path for `file` option.
56 changes: 46 additions & 10 deletions en/getting/windows.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,64 @@
# Installing Drupal Console on Windows

On Windows there are two ways to install drupal console. One uses Git Bash, the other uses a Windows command prompt. I recommend using the Git Bash utility from the Git for Windows (previously msysgit) program package, since this is the only way you can use drupal console without prefixing it with php.

## Using curl from the Git Bash prompt:
## Using on Git Bash:

If you use Drupal Console on Git Bash, please install packages below:

* [Git for Windows](https://git-for-windows.github.io/)
* [Composer](https://github.com/composer/windows-setup)
* [PHP for Windows](http://windows.php.net/download/)
* [sqlite-tools-win32-x86](https://www.sqlite.org/download.html)

### Update PATH environment

After installation, you have to include `php.exe` and `sqlite3.exe` files in your PATH environment variable.
For example, if you extracted "PHP For Windows" into "C:\php", and extracted "sqlite-tools-win32-x86" into "C:\sqlite", you can set PATH environment variable as below from command prompt.

```
SETX /M PATH "%PATH%;C:\php;C:\sqlite"
```

### Setup php.ini

Drupal Console require some extensions. Please enable these extensions in your `php.ini`.

```
$ curl https://drupalconsole.com/installer -L -o drupal.phar
extension=php_gd2.dll
extension=php_pdo_sqlite.dll
```
## OR run the following from a Windows command prompt:

We recommend to enable the following extensions to enable you to use your own language.

```
$ php -r "readfile('https://drupalconsole.com/installer');" > drupal.phar
extension=php_intl.dll
extension=php_mbstring.dll
```

You can now execute it, supposing php.exe is in your PATH environment variable.
#### Define certificate

## Run:
Put certificate information provided by Git for Windows.

```
curl.cainfo = C:\Program Files\Git\usr\ssl\certs\ca-bundle.crt;
```

### Install Drupal Console globally using composer:
```
$ php drupal.phar
$ composer global require drupal/console:@stable
```

If you rename the drupal.phar file to drupal, and copy it next to php.exe, then from the Git Bash window you can run it without prefixing with php.
### You can now execute console using:

#### You can now execute using:
```
$ drupal
```

**NOTE:** The name `drupal` is just an alias you can name it anything you like.
or execute one of the chain available, to execute a quick install execute the following command

```
$ drupal chain --file="C:\Users\username\.console\chain\quick-start.yml"
```

**NOTE:** You have to provide "Windows-style" path for `file` option.
61 changes: 61 additions & 0 deletions es/getting/windows.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Installing Drupal Console on Windows
On Windows there are two ways to install drupal console. One uses Git Bash, the other uses a Windows command prompt. I recommend using the Git Bash utility from the Git for Windows (previously msysgit) program package, since this is the only way you can use drupal console without prefixing it with php.

## Using on Git Bash:

If you use Drupal Console on Git Bash, please install packages below:

* [Git for Windows](https://git-for-windows.github.io/)
* [Composer](https://github.com/composer/windows-setup)
* [PHP For Windows](http://windows.php.net/download/)
* [sqlite-tools-win32-x86](https://www.sqlite.org/download.html)

### Update PATH environment

After installation, you have to include php.exe and sqlite3.exe in your PATH environment variable.
For example, if you extracted "PHP For Windows" into "C:\php", and extracted "sqlite-tools-win32-x86" into "C:\sqlite", you can set PATH environment variable as below from command prompt.

```
SETX /M PATH "%PATH%;C:\php;C:\sqlite"
```

### Setup php.ini

Drupal Console require some extensions. please enable these extensions in your php.ini.

```
extension=php_gd2.dll
extension=php_pdo_sqlite.dll
```

We recommend to enable the following extensions to enable you to use your own language.
```
extension=php_intl.dll
extension=php_mbstring.dll
```

#### Define certificate

put certificate information provided by Git for Windows.
```
curl.cainfo = C:\Program Files\Git\usr\ssl\certs\ca-bundle.crt;
```

### Install Drupal Console globally using composer:
```
$ composer global require drupal/console:@stable
```

### You can now execute console using:

```
$ drupal
```

or execute one of the chain available, to execute a quick install execute the following command

```
$ drupal chain --file="C:\Users\username\.console\chain\quick-start.yml"
```

**NOTE:** You have to provide "Windows-style" path for `file` option.
61 changes: 61 additions & 0 deletions hi/getting/windows.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Installing Drupal Console on Windows
On Windows there are two ways to install drupal console. One uses Git Bash, the other uses a Windows command prompt. I recommend using the Git Bash utility from the Git for Windows (previously msysgit) program package, since this is the only way you can use drupal console without prefixing it with php.

## Using on Git Bash:

If you use Drupal Console on Git Bash, please install packages below:

* [Git for Windows](https://git-for-windows.github.io/)
* [Composer](https://github.com/composer/windows-setup)
* [PHP For Windows](http://windows.php.net/download/)
* [sqlite-tools-win32-x86](https://www.sqlite.org/download.html)

### Update PATH environment

After installation, you have to include php.exe and sqlite3.exe in your PATH environment variable.
For example, if you extracted "PHP For Windows" into "C:\php", and extracted "sqlite-tools-win32-x86" into "C:\sqlite", you can set PATH environment variable as below from command prompt.

```
SETX /M PATH "%PATH%;C:\php;C:\sqlite"
```

### Setup php.ini

Drupal Console require some extensions. please enable these extensions in your php.ini.

```
extension=php_gd2.dll
extension=php_pdo_sqlite.dll
```

We recommend to enable the following extensions to enable you to use your own language.
```
extension=php_intl.dll
extension=php_mbstring.dll
```

#### Define certificate

put certificate information provided by Git for Windows.
```
curl.cainfo = C:\Program Files\Git\usr\ssl\certs\ca-bundle.crt;
```

### Install Drupal Console globally using composer:
```
$ composer global require drupal/console:@stable
```

### You can now execute console using:

```
$ drupal
```

or execute one of the chain available, to execute a quick install execute the following command

```
$ drupal chain --file="C:\Users\username\.console\chain\quick-start.yml"
```

**NOTE:** You have to provide "Windows-style" path for `file` option.
61 changes: 61 additions & 0 deletions hu/getting/windows.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Installing Drupal Console on Windows
On Windows there are two ways to install drupal console. One uses Git Bash, the other uses a Windows command prompt. I recommend using the Git Bash utility from the Git for Windows (previously msysgit) program package, since this is the only way you can use drupal console without prefixing it with php.

## Using on Git Bash:

If you use Drupal Console on Git Bash, please install packages below:

* [Git for Windows](https://git-for-windows.github.io/)
* [Composer](https://github.com/composer/windows-setup)
* [PHP For Windows](http://windows.php.net/download/)
* [sqlite-tools-win32-x86](https://www.sqlite.org/download.html)

### Update PATH environment

After installation, you have to include php.exe and sqlite3.exe in your PATH environment variable.
For example, if you extracted "PHP For Windows" into "C:\php", and extracted "sqlite-tools-win32-x86" into "C:\sqlite", you can set PATH environment variable as below from command prompt.

```
SETX /M PATH "%PATH%;C:\php;C:\sqlite"
```

### Setup php.ini

Drupal Console require some extensions. please enable these extensions in your php.ini.

```
extension=php_gd2.dll
extension=php_pdo_sqlite.dll
```

We recommend to enable the following extensions to enable you to use your own language.
```
extension=php_intl.dll
extension=php_mbstring.dll
```

#### Define certificate

put certificate information provided by Git for Windows.
```
curl.cainfo = C:\Program Files\Git\usr\ssl\certs\ca-bundle.crt;
```

### Install Drupal Console globally using composer:
```
$ composer global require drupal/console:@stable
```

### You can now execute console using:

```
$ drupal
```

or execute one of the chain available, to execute a quick install execute the following command

```
$ drupal chain --file="C:\Users\username\.console\chain\quick-start.yml"
```

**NOTE:** You have to provide "Windows-style" path for `file` option.
61 changes: 61 additions & 0 deletions pt_br/getting/windows.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Installing Drupal Console on Windows
On Windows there are two ways to install drupal console. One uses Git Bash, the other uses a Windows command prompt. I recommend using the Git Bash utility from the Git for Windows (previously msysgit) program package, since this is the only way you can use drupal console without prefixing it with php.

## Using on Git Bash:

If you use Drupal Console on Git Bash, please install packages below:

* [Git for Windows](https://git-for-windows.github.io/)
* [Composer](https://github.com/composer/windows-setup)
* [PHP For Windows](http://windows.php.net/download/)
* [sqlite-tools-win32-x86](https://www.sqlite.org/download.html)

### Update PATH environment

After installation, you have to include php.exe and sqlite3.exe in your PATH environment variable.
For example, if you extracted "PHP For Windows" into "C:\php", and extracted "sqlite-tools-win32-x86" into "C:\sqlite", you can set PATH environment variable as below from command prompt.

```
SETX /M PATH "%PATH%;C:\php;C:\sqlite"
```

### Setup php.ini

Drupal Console require some extensions. please enable these extensions in your php.ini.

```
extension=php_gd2.dll
extension=php_pdo_sqlite.dll
```

We recommend to enable the following extensions to enable you to use your own language.
```
extension=php_intl.dll
extension=php_mbstring.dll
```

#### Define certificate

put certificate information provided by Git for Windows.
```
curl.cainfo = C:\Program Files\Git\usr\ssl\certs\ca-bundle.crt;
```

### Install Drupal Console globally using composer:
```
$ composer global require drupal/console:@stable
```

### You can now execute console using:

```
$ drupal
```

or execute one of the chain available, to execute a quick install execute the following command

```
$ drupal chain --file="C:\Users\username\.console\chain\quick-start.yml"
```

**NOTE:** You have to provide "Windows-style" path for `file` option.
Loading

0 comments on commit 8a7a905

Please sign in to comment.