Esta apresentação tem como base o template composer recommended project, Lando e PHPStorm para te conduzir na aventura de criares um ambiente de desenvolvimento para ti e para a tua equipa.
Francisco Ribeiro
6. 6
Where
I have been...
Mac / Linux
Coda / Atom / Visual Studio Code
MAMP / Acquia Dev Desktop / Drupal VM
LESS
Grunt
Vue.js / Angular
drush patch
drush make
drush rsync
git pull
10. 10
Lando
lando init
lando start
You are up and running
You have mysql, apache, php, drush and composer
name: drupalday
recipe: drupal9
config:
webroot: web
14. 14
Where I was
drupal composer project
drush,
drupal console,
composer-patches
.gitignore
drupal-composer/drupal-project
15. 15
Where
I have been …
Acquia Ligthning project
Install npm and bower front end libraries with composer
Lots of stuff to like media handling, workflow, landing
pages
…. that could save you a bunch of hours
acquia/lightning-project
16. 16
Where
I have been …..
drupal recommended project
.gitignore
drush
drupal console
Nice stuff
file mapping [replace, append]
"[web-root]/sites/default/settings.php": {
"mode": "replace",
"path": "assets/sites/default/settings.php",
"overwrite": false
},
"[web-root]/robots.txt": {
"mode": "append",
"prepend": "assets/robots-prequel.txt",
"append": "assets/robots-append.txt"
},
drupal/recommended-project
27. 27
Keymap E
L
B
In context suggestions action
Search everywhere
Recent files popup
Reformat code
Go to last editing point
Navigate to this implementation