Contribuir a Drupal - Entorno

2

Click here to load reader

Transcript of Contribuir a Drupal - Entorno

Page 1: Contribuir a Drupal - Entorno

Contribuir a Drupal - Entorno

Instalación de entorno

Instalar Drush # Download latest stable release using the code below or browse to github.com/drush-ops/drush/releases. php -r "readfile('https://s3.amazonaws.com/files.drush.org/drush.phar');" >

drush # Or use our upcoming release: php -r "readfile('https://s3.amazonaws.com/files.drush.org/drush-unstable.phar');" > drush # Test your install. php drush core-status # Make `drush` executable as a command from anywhere. Destination can be anywhere on $PATH. chmod +x drush

sudo mv drush /usr/local/bin # Optional. Enrich the bash startup file with completion and aliases. drush init

● http://docs.drush.org/en/master/install/#installupgrade-a-global-drush

Instalar composer Instalacion Linux/Mac.

curl -sS https://getcomposer.org/installer | sudo php --

--install-dir=/usr/local/bin --filename=composer

Documentación:

● https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx

Instalar Docker & Docker Compose Seguid este tutorial.

● https://docs.google.com/document/d/1e4VTIKqiJOMdeoD2COIYVv5H-uPC4KCNTif00bR2-rs/edit

Page 2: Contribuir a Drupal - Entorno

Usad el repo de

[email protected]:keopx/docker-drupal-contrib.git ○ https://github.com/keopx/docker-drupal-contrib

Arrancar proyecto echo ‘0.0.0.0 mysql’ >> /etc/hosts

git clone [email protected] :keopx/docker-drupal-contrib.git cd docker-drupal-contrib/data/www

docker-compose up -d

./initdrupal.sh

./setupdrupal.sh

docker-compose down && docker-compose up -d

Sitio Web Entramos a http://localhost

● Usuario: root ● Contraseña: root