-
-
Save Alex-Shilman/88eaab03369ac6c058d5dd0c42bf0907 to your computer and use it in GitHub Desktop.
How to download and install Drupal 8 using Drupal Console
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
drupal chain --file=~/.console/chain/quick-start-mysql.yml | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
drupal chain --file=~/.console/chain/quick-start.yml | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
drupal init | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commands: | |
# Download Drupal | |
- command: site:new | |
arguments: | |
directory: drupal8.dev | |
version: 8.0.3 | |
# Install Drupal | |
- command: site:install | |
options: | |
langcode: en | |
db-type: mysql | |
db-host: 127.0.0.1 | |
db-name: drupal # default database | |
db-user: root # local config | |
db-pass: root # local config | |
db-port: 3306 | |
site-name: 'Drupal 8 site' | |
site-mail: [email protected] # default email | |
account-name: admin # default account | |
account-mail: [email protected] # default email | |
account-pass: admin # default pass | |
arguments: | |
profile: standard | |
# Start php built-in server | |
- command: server |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commands: | |
# Download Drupal | |
- command: site:new | |
arguments: | |
directory: drupal8.dev | |
version: 8.0.3 | |
# Install Drupal | |
- command: site:install | |
options: | |
langcode: en | |
db-type: sqlite | |
db-file: sites/default/files/.ht.sqlite | |
site-name: 'Drupal 8 Quick Start' | |
site-mail: [email protected] | |
account-name: admin | |
account-mail: [email protected] | |
account-pass: admin | |
arguments: | |
profile: standard | |
# Start php built-in server | |
- command: server |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
drupal site:install standard --langcode="en" --db-type="mysql" --db-host="127.0.0.1" | |
--db-name="drupal" --db-user="root" --db-pass="root" --db-port="3306" | |
--site-name="Drupal 8 Site Install" --site-mail="[email protected]" | |
--account-name="admin" --account-mail="[email protected]" --account-pass="admin" | |
--no-interaction | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
drupal site:install | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
drupal site:new drupal8.dev 8.0.3 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
drupal site:new | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment