SlideShare una empresa de Scribd logo
1 de 24
Descargar para leer sin conexión
How to Use the Command
Line to Increase Speed of
Development
Dave Myburgh
Senior Engineer and
Team Lead on www.acquia.com
About Me
● Dave Myburgh
● Team lead for www.acquia.com, training, dev, engage
● Most recently worked on docs D6 -> D8 update
● 10 years of Drupal
● First site in 4.7 and it's still running :)
● Started on PC, now on Mac
● From DOS to Terminal (autoexec.bat to .bash_profile)
What we will cover
● Pimp out that prompt for Git
● Bash profile
● Aliases
● Drush
● File editing
● SASS & Compass
● Drupal 8 & Composer
Pimp my prompt
● Git on the command line
● .git-completion.bash
https://github.
com/git/git/blob/master/contrib/completion/git-
completion.bash
● .git-prompt.sh
http://git-prompt.sh
source ~/.git-completion.bash
source ~/.git-prompt.sh
export PS1="[fun_stuff_here]"
export PS1='[t]:w[033[0;32m]$(__git_ps1 " (%s)")[033[0;0m]$ ';
time path start
green
THE
MAGIC
end
green
For more prompt styling: https://wiki.archlinux.org/index.php/Bash/Prompt_customization
PS1 = main/primary prompt
Bash profile
● .bash_profile on Mac, .bash_rc on Linux
● aliases
e.g. alias l="ls =al"
● directory listing colors
e.g. export LSCOLORS=GxFxCxDxBxegedabagacad
● setting paths to programs:
export PATH="$PATH:/Applications/Dev Desktop/drush"
Bash profile (cont.)
● custom functions
Convert an mp4 video file into an mp3:
mp4-mp3() {
# ${1%.*} returns only the filename, not the extension.
ffmpeg -i "$1" -f mp3 -ab 192000 -vn "${1%.*}".mp3
}
● lots more out there:
http://blog.taylormcgann.com/2012/06/13/customize-your-shell-command-prompt
Bash profile: Aliases
● TIP: separate file for aliases, load from .bash_profile
source ~/.aliases
● some of favorites:
alias l="ls -al"
alias dev="cd ~/Sites/devdesktop/acquiacom-dev/docroot"
alias gitb="git branch"
alias gits="git status"
alias ssh-ac-dev="ssh
[user].dev@[server].network.hosting.acquia.com"
alias fixwebcam="sudo killall VDCAssistant"
Drush
● The Drupal shell (http://www.drush.org)
● command line shell and scripting interface
● ships with lots of useful commands
● Drupal modules can add more commands
e.g. Backup & Migrate
● THE most useful command line utility for Drupal
Drush (cont.)
● Two main ways to get it:
○ Acquia Dev Desktop (Mac & Win)
○ install globally for your computer via command line:
$ wget http://files.drush.org/drush.phar
$ chmod +x drush.phar
$ sudo mv drush.phar /usr/local/bin/drush
● http://docs.drush.org/en/master/install for more help
Drush (cont.)
● Some of the most used commands:
$ drush cc [all] (clear all caches)
$ drush dl [module_name]
$ drush en [module_name]
$ drush updb (run update.php)
$ drush sql-cli (login to mysql)
$ drush sql-connect (show mysql connection string)
$ drush uli [username] (user login)
$ drush sa (show site aliases)
$ drush @acquia.prod cc all (clear caches on acquia)
$ drush up [module_name] (update modules)
Drush (cont.)
● Some Drupal 8 changes & additions:
$ drush cc all (clear all caches)
=> drush cr (cache rebuild)
$ drush dis [module_name] (disable module)
=> drush pm-uninstall (also used in D7 & below)
$ drush config-export / cex (export config)
$ drush config-import / cim (import config)
$ drush config-pull (copy config to new env)
$ drush up drupal!!
and many, many more...
$ drush
$ drush help [command]
Drush (cont.)
● Acquia Dev Desktop:
to avoid this:
Command xxxx needs a higher bootstrap level to run...
File Editing
● Vi (Vim), Nano, Emacs, etc.
● Personal favorite is nano
● Similar commands like DOS editors: Ctrl-[key]
● No typing : before commands
● Tip: show line numbers all the time (else nano -c)
.nanorc:
set const
● Some people use Vim for all editing, instead of an IDE
like PHPStorm
SASS & Compass
● Syntactically Awesome StyleSheets
● extension of CSS, so regular CSS is 100% valid
● get to use variables, nested rules, mixins (functions)
● files use .scss extension
● create separate files for regions/content types/whatever
and they all get loaded by one file
● http://sass-lang.com
● https://smacss.com (scalable and modular architecture)
SASS & Compass (cont.)
● Compass is a CSS authoring framework that uses
SASS
● provides many useful mixins (functions)
● basically, it compiles your SASS files into actual CSS
● compass watch will monitor changes to your .scss
files and rebuild the .css file
● requires Ruby and a config.rb file in theme folder
● http://compass-style.org
SASS & Compass (cont.)
Example:
sass/style.scss:
@import 'components/base';
sass/components/_base.scss:
$blue: #29aee1;
a {
color: $blue;
&:hover {
color: darken($blue, 10%);
}
}
SASS & Compass (cont.)
Example:
styles/style.css:
a { color: #29aae1; }
a:hover { color: #1a90bd; }
$ compass watch (to constantly monitor for changes)
$ compass compile (to manually update changes)
SASS & Compass (cont.)
● SO much more...
● https://rvm.io/rvm/install (Ruby installation via RVM)
● http://www.ruby-lang.org/en/documentation/installation
(regular Ruby install)
● http://sass-lang.com
● http://compass-style.org
● https://smacss.com
Drupal 8 & Composer
● new way of managing site dependencies
● Composer Manager module is a helper module with a
Drupal UI too (requires Composer command-line tool:
https://getcomposer.org)
● can replace drush make or work with it
● some modules now use composer for their
dependencies - look for composer.json file
● https://www.drupal.
org/documentation/install/composer-dependencies
Drupal 8 & Composer (cont.)
● so what's the workflow with composer?
● recommended to install composer_manager module,
which will automatically update root composer.json
with a module's requirements:
$ drush dl composer_manager
$ php modules/composer_manager/scripts/init.php
● then download your module(s) and run:
$ composer drupal-update
● all dependencies, including core, will get updated
Drupal 8 & Composer (cont.)
● without Composer Manager, you can manually edit root
composer.json to add modules, run composer
update to then download the module and its
dependencies
● Note: vendor directory will get updated often! Don't
worry, those dependencies are restricted to certain
versions in core/composer.json, so things won't
break e.g.
"jcalderonzumba/mink-phantomjs-driver": "~0.3.1",
(i.e. >=0.3.1 and <0.4)
Q & A
Thank You!

Más contenido relacionado

La actualidad más candente

Writing and Publishing Puppet Modules
Writing and Publishing Puppet ModulesWriting and Publishing Puppet Modules
Writing and Publishing Puppet ModulesPuppet
 
Composer Tools & Frameworks for Drupal
Composer Tools & Frameworks for DrupalComposer Tools & Frameworks for Drupal
Composer Tools & Frameworks for DrupalPantheon
 
Composer & Drupal
Composer & DrupalComposer & Drupal
Composer & Drupaldrubb
 
Migration from Drupal 7 to Drupal 8 - How Docker can save our lives!
Migration from Drupal 7 to Drupal 8 - How Docker can save our lives!Migration from Drupal 7 to Drupal 8 - How Docker can save our lives!
Migration from Drupal 7 to Drupal 8 - How Docker can save our lives!DrupalCamp Kyiv
 
Ninja Build: Simple Guide for Beginners
Ninja Build: Simple Guide for BeginnersNinja Build: Simple Guide for Beginners
Ninja Build: Simple Guide for BeginnersChang W. Doh
 
Speed up Drupal development with Drush
Speed up Drupal development with DrushSpeed up Drupal development with Drush
Speed up Drupal development with Drushkbasarab
 
Drush in the Composer Era
Drush in the Composer EraDrush in the Composer Era
Drush in the Composer EraPantheon
 
COMO CRIAR O TEU STARTUP PROJECT E SETUP DO TEU AMBIENTE DE DESENVOLVIMENTO D...
COMO CRIAR O TEU STARTUP PROJECT E SETUP DO TEU AMBIENTE DE DESENVOLVIMENTO D...COMO CRIAR O TEU STARTUP PROJECT E SETUP DO TEU AMBIENTE DE DESENVOLVIMENTO D...
COMO CRIAR O TEU STARTUP PROJECT E SETUP DO TEU AMBIENTE DE DESENVOLVIMENTO D...Drupal Portugal
 
Headless approach and Acquia - Case study - Chris Ozog
Headless approach and Acquia - Case study - Chris OzogHeadless approach and Acquia - Case study - Chris Ozog
Headless approach and Acquia - Case study - Chris OzogDrupalCamp Kyiv
 
Development Workflow Tools for Open-Source PHP Libraries
Development Workflow Tools for Open-Source PHP LibrariesDevelopment Workflow Tools for Open-Source PHP Libraries
Development Workflow Tools for Open-Source PHP LibrariesPantheon
 
Using Backbone.js with Drupal 7 and 8
Using Backbone.js with Drupal 7 and 8Using Backbone.js with Drupal 7 and 8
Using Backbone.js with Drupal 7 and 8Ovadiah Myrgorod
 
CI workflow in a web studio
CI workflow in a web studioCI workflow in a web studio
CI workflow in a web studiodeWeb
 
Configuration Kits - DrupalCamp NYC 2021
Configuration Kits - DrupalCamp NYC 2021Configuration Kits - DrupalCamp NYC 2021
Configuration Kits - DrupalCamp NYC 2021Martin Anderson-Clutz
 
Create a Varnish cluster in Kubernetes for Drupal caching - DrupalCon North A...
Create a Varnish cluster in Kubernetes for Drupal caching - DrupalCon North A...Create a Varnish cluster in Kubernetes for Drupal caching - DrupalCon North A...
Create a Varnish cluster in Kubernetes for Drupal caching - DrupalCon North A...Ovadiah Myrgorod
 
Frontend JS workflow - Gulp 4 and the like
Frontend JS workflow - Gulp 4 and the likeFrontend JS workflow - Gulp 4 and the like
Frontend JS workflow - Gulp 4 and the likeDamien Seguin
 
Towards the perfect Drupal Dev Machine
Towards the perfect Drupal Dev MachineTowards the perfect Drupal Dev Machine
Towards the perfect Drupal Dev MachineKrimson
 
Beginning Jquery In Drupal Theming
Beginning Jquery In Drupal ThemingBeginning Jquery In Drupal Theming
Beginning Jquery In Drupal ThemingRob Knight
 

La actualidad más candente (20)

Writing and Publishing Puppet Modules
Writing and Publishing Puppet ModulesWriting and Publishing Puppet Modules
Writing and Publishing Puppet Modules
 
Composer Tools & Frameworks for Drupal
Composer Tools & Frameworks for DrupalComposer Tools & Frameworks for Drupal
Composer Tools & Frameworks for Drupal
 
Composer & Drupal
Composer & DrupalComposer & Drupal
Composer & Drupal
 
Migration from Drupal 7 to Drupal 8 - How Docker can save our lives!
Migration from Drupal 7 to Drupal 8 - How Docker can save our lives!Migration from Drupal 7 to Drupal 8 - How Docker can save our lives!
Migration from Drupal 7 to Drupal 8 - How Docker can save our lives!
 
Ninja Build: Simple Guide for Beginners
Ninja Build: Simple Guide for BeginnersNinja Build: Simple Guide for Beginners
Ninja Build: Simple Guide for Beginners
 
Speed up Drupal development with Drush
Speed up Drupal development with DrushSpeed up Drupal development with Drush
Speed up Drupal development with Drush
 
Docker as development environment
Docker as development environmentDocker as development environment
Docker as development environment
 
Drush in the Composer Era
Drush in the Composer EraDrush in the Composer Era
Drush in the Composer Era
 
COMO CRIAR O TEU STARTUP PROJECT E SETUP DO TEU AMBIENTE DE DESENVOLVIMENTO D...
COMO CRIAR O TEU STARTUP PROJECT E SETUP DO TEU AMBIENTE DE DESENVOLVIMENTO D...COMO CRIAR O TEU STARTUP PROJECT E SETUP DO TEU AMBIENTE DE DESENVOLVIMENTO D...
COMO CRIAR O TEU STARTUP PROJECT E SETUP DO TEU AMBIENTE DE DESENVOLVIMENTO D...
 
Headless approach and Acquia - Case study - Chris Ozog
Headless approach and Acquia - Case study - Chris OzogHeadless approach and Acquia - Case study - Chris Ozog
Headless approach and Acquia - Case study - Chris Ozog
 
Development Workflow Tools for Open-Source PHP Libraries
Development Workflow Tools for Open-Source PHP LibrariesDevelopment Workflow Tools for Open-Source PHP Libraries
Development Workflow Tools for Open-Source PHP Libraries
 
Using Backbone.js with Drupal 7 and 8
Using Backbone.js with Drupal 7 and 8Using Backbone.js with Drupal 7 and 8
Using Backbone.js with Drupal 7 and 8
 
CI workflow in a web studio
CI workflow in a web studioCI workflow in a web studio
CI workflow in a web studio
 
Configuration Kits - DrupalCamp NYC 2021
Configuration Kits - DrupalCamp NYC 2021Configuration Kits - DrupalCamp NYC 2021
Configuration Kits - DrupalCamp NYC 2021
 
Create a Varnish cluster in Kubernetes for Drupal caching - DrupalCon North A...
Create a Varnish cluster in Kubernetes for Drupal caching - DrupalCon North A...Create a Varnish cluster in Kubernetes for Drupal caching - DrupalCon North A...
Create a Varnish cluster in Kubernetes for Drupal caching - DrupalCon North A...
 
Frontend JS workflow - Gulp 4 and the like
Frontend JS workflow - Gulp 4 and the likeFrontend JS workflow - Gulp 4 and the like
Frontend JS workflow - Gulp 4 and the like
 
Towards the perfect Drupal Dev Machine
Towards the perfect Drupal Dev MachineTowards the perfect Drupal Dev Machine
Towards the perfect Drupal Dev Machine
 
JavaScript Task Runners - Gulp & Grunt
JavaScript Task Runners - Gulp & GruntJavaScript Task Runners - Gulp & Grunt
JavaScript Task Runners - Gulp & Grunt
 
Beginning Jquery In Drupal Theming
Beginning Jquery In Drupal ThemingBeginning Jquery In Drupal Theming
Beginning Jquery In Drupal Theming
 
Grunt and Bower
Grunt and BowerGrunt and Bower
Grunt and Bower
 

Destacado

Northwell Health: How Digital Technology Laid the Foundation for a Brand Over...
Northwell Health: How Digital Technology Laid the Foundation for a Brand Over...Northwell Health: How Digital Technology Laid the Foundation for a Brand Over...
Northwell Health: How Digital Technology Laid the Foundation for a Brand Over...Acquia
 
Variabel, Struktur Keputusan dan Alih Kontrol
Variabel, Struktur Keputusan dan Alih KontrolVariabel, Struktur Keputusan dan Alih Kontrol
Variabel, Struktur Keputusan dan Alih KontrolBarmed Studio
 
Health problems associated with aging
Health problems associated with agingHealth problems associated with aging
Health problems associated with agingStephanie Durbin
 
How Financial Services Firms are Using Digital to Improve the Customer Experi...
How Financial Services Firms are Using Digital to Improve the Customer Experi...How Financial Services Firms are Using Digital to Improve the Customer Experi...
How Financial Services Firms are Using Digital to Improve the Customer Experi...Acquia
 
Ask Us Anything: Dries Buytaert and Team Tell All on Drupal 8
Ask Us Anything: Dries Buytaert and Team Tell All on Drupal 8Ask Us Anything: Dries Buytaert and Team Tell All on Drupal 8
Ask Us Anything: Dries Buytaert and Team Tell All on Drupal 8Acquia
 
Achizitii noi februarie 2016
Achizitii noi februarie 2016Achizitii noi februarie 2016
Achizitii noi februarie 2016DIB ULIM
 
Make B. Tropical Colors
Make B. Tropical Colors Make B. Tropical Colors
Make B. Tropical Colors Grupo OM
 
Malattie dermatologiche
Malattie dermatologicheMalattie dermatologiche
Malattie dermatologicheDina Malgieri
 
Short case...Intramedullary cystic spinal cord metastasis
Short case...Intramedullary cystic spinal cord metastasisShort case...Intramedullary cystic spinal cord metastasis
Short case...Intramedullary cystic spinal cord metastasisProfessor Yasser Metwally
 
The Essay: Introductions
The Essay: IntroductionsThe Essay: Introductions
The Essay: IntroductionsCC Undertree
 
The Essay: Body, Conclusion, and Titles
The Essay: Body, Conclusion, and TitlesThe Essay: Body, Conclusion, and Titles
The Essay: Body, Conclusion, and TitlesCC Undertree
 
Meta-Studie Führungskompetenzen für die digitale Transformation – oder: Warum...
Meta-Studie Führungskompetenzen für die digitale Transformation – oder: Warum...Meta-Studie Führungskompetenzen für die digitale Transformation – oder: Warum...
Meta-Studie Führungskompetenzen für die digitale Transformation – oder: Warum...pludoni GmbH
 
Decoupled Drupal Showcase: Using Drupal to Power Digital Signage
Decoupled Drupal Showcase: Using Drupal to Power Digital SignageDecoupled Drupal Showcase: Using Drupal to Power Digital Signage
Decoupled Drupal Showcase: Using Drupal to Power Digital SignageAcquia
 

Destacado (15)

Northwell Health: How Digital Technology Laid the Foundation for a Brand Over...
Northwell Health: How Digital Technology Laid the Foundation for a Brand Over...Northwell Health: How Digital Technology Laid the Foundation for a Brand Over...
Northwell Health: How Digital Technology Laid the Foundation for a Brand Over...
 
Variabel, Struktur Keputusan dan Alih Kontrol
Variabel, Struktur Keputusan dan Alih KontrolVariabel, Struktur Keputusan dan Alih Kontrol
Variabel, Struktur Keputusan dan Alih Kontrol
 
Health problems associated with aging
Health problems associated with agingHealth problems associated with aging
Health problems associated with aging
 
Iconic
IconicIconic
Iconic
 
How Financial Services Firms are Using Digital to Improve the Customer Experi...
How Financial Services Firms are Using Digital to Improve the Customer Experi...How Financial Services Firms are Using Digital to Improve the Customer Experi...
How Financial Services Firms are Using Digital to Improve the Customer Experi...
 
Ask Us Anything: Dries Buytaert and Team Tell All on Drupal 8
Ask Us Anything: Dries Buytaert and Team Tell All on Drupal 8Ask Us Anything: Dries Buytaert and Team Tell All on Drupal 8
Ask Us Anything: Dries Buytaert and Team Tell All on Drupal 8
 
Achizitii noi februarie 2016
Achizitii noi februarie 2016Achizitii noi februarie 2016
Achizitii noi februarie 2016
 
Make B. Tropical Colors
Make B. Tropical Colors Make B. Tropical Colors
Make B. Tropical Colors
 
Malattie dermatologiche
Malattie dermatologicheMalattie dermatologiche
Malattie dermatologiche
 
Short case...Intramedullary cystic spinal cord metastasis
Short case...Intramedullary cystic spinal cord metastasisShort case...Intramedullary cystic spinal cord metastasis
Short case...Intramedullary cystic spinal cord metastasis
 
The Essay: Introductions
The Essay: IntroductionsThe Essay: Introductions
The Essay: Introductions
 
The Essay: Body, Conclusion, and Titles
The Essay: Body, Conclusion, and TitlesThe Essay: Body, Conclusion, and Titles
The Essay: Body, Conclusion, and Titles
 
Meta-Studie Führungskompetenzen für die digitale Transformation – oder: Warum...
Meta-Studie Führungskompetenzen für die digitale Transformation – oder: Warum...Meta-Studie Führungskompetenzen für die digitale Transformation – oder: Warum...
Meta-Studie Führungskompetenzen für die digitale Transformation – oder: Warum...
 
Bias vs Variance
Bias vs VarianceBias vs Variance
Bias vs Variance
 
Decoupled Drupal Showcase: Using Drupal to Power Digital Signage
Decoupled Drupal Showcase: Using Drupal to Power Digital SignageDecoupled Drupal Showcase: Using Drupal to Power Digital Signage
Decoupled Drupal Showcase: Using Drupal to Power Digital Signage
 

Similar a How to Use the Command Line to Increase Speed of Development

[EXTENDED] Ceph, Docker, Heroku Slugs, CoreOS and Deis Overview
[EXTENDED] Ceph, Docker, Heroku Slugs, CoreOS and Deis Overview[EXTENDED] Ceph, Docker, Heroku Slugs, CoreOS and Deis Overview
[EXTENDED] Ceph, Docker, Heroku Slugs, CoreOS and Deis OverviewLeo Lorieri
 
Drush. Why should it be used?
Drush. Why should it be used?Drush. Why should it be used?
Drush. Why should it be used?Sergei Stryukov
 
Pavlenko Sergey. Drush: using and creating custom commands. DrupalCamp Kyiv 2011
Pavlenko Sergey. Drush: using and creating custom commands. DrupalCamp Kyiv 2011Pavlenko Sergey. Drush: using and creating custom commands. DrupalCamp Kyiv 2011
Pavlenko Sergey. Drush: using and creating custom commands. DrupalCamp Kyiv 2011Vlad Savitsky
 
Drupal Theme Development - DrupalCon Chicago 2011
Drupal Theme Development - DrupalCon Chicago 2011Drupal Theme Development - DrupalCon Chicago 2011
Drupal Theme Development - DrupalCon Chicago 2011Ryan Price
 
Drush for drupal website builder
Drush for drupal website builderDrush for drupal website builder
Drush for drupal website builderAdolfo Nasol
 
Development Setup of B-Translator
Development Setup of B-TranslatorDevelopment Setup of B-Translator
Development Setup of B-TranslatorDashamir Hoxha
 
A Drush Primer - DrupalCamp Chattanooga 2013
A Drush Primer - DrupalCamp Chattanooga 2013A Drush Primer - DrupalCamp Chattanooga 2013
A Drush Primer - DrupalCamp Chattanooga 2013Chris Hales
 
Drush&drupal. administration
Drush&drupal. administrationDrush&drupal. administration
Drush&drupal. administrationzabej
 
Drupal Day 2012 - Automating Drupal Development: Make!les, Features and Beyond
Drupal Day 2012 - Automating Drupal Development: Make!les, Features and BeyondDrupal Day 2012 - Automating Drupal Development: Make!les, Features and Beyond
Drupal Day 2012 - Automating Drupal Development: Make!les, Features and BeyondDrupalDay
 
Drupal Deployment Troubles and Problems
Drupal Deployment Troubles and ProblemsDrupal Deployment Troubles and Problems
Drupal Deployment Troubles and ProblemsAndrii Lundiak
 
Toolbox of a Ruby Team
Toolbox of a Ruby TeamToolbox of a Ruby Team
Toolbox of a Ruby TeamArto Artnik
 
Ajax Performance Tuning and Best Practices
Ajax Performance Tuning and Best PracticesAjax Performance Tuning and Best Practices
Ajax Performance Tuning and Best PracticesDoris Chen
 
Drush and drupal. администрирование волчек михаил
Drush and drupal. администрирование  волчек михаилDrush and drupal. администрирование  волчек михаил
Drush and drupal. администрирование волчек михаилdrupalconf
 
Drush and drupal. администрирование. Волчек Михаил
Drush and drupal. администрирование. Волчек МихаилDrush and drupal. администрирование. Волчек Михаил
Drush and drupal. администрирование. Волчек МихаилPVasili
 
Miscelaneous Debris
Miscelaneous DebrisMiscelaneous Debris
Miscelaneous Debrisfrewmbot
 
Sergei Stryukov.Drush.Why it should be used.DrupalCamp Kyiv 2011
Sergei Stryukov.Drush.Why it should be used.DrupalCamp Kyiv 2011Sergei Stryukov.Drush.Why it should be used.DrupalCamp Kyiv 2011
Sergei Stryukov.Drush.Why it should be used.DrupalCamp Kyiv 2011camp_drupal_ua
 
Optimize Site Deployments with Drush (DrupalCamp WNY 2011)
Optimize Site Deployments with Drush (DrupalCamp WNY 2011)Optimize Site Deployments with Drush (DrupalCamp WNY 2011)
Optimize Site Deployments with Drush (DrupalCamp WNY 2011)Jon Peck
 
Deployment with Fabric
Deployment with FabricDeployment with Fabric
Deployment with Fabricandymccurdy
 

Similar a How to Use the Command Line to Increase Speed of Development (20)

[EXTENDED] Ceph, Docker, Heroku Slugs, CoreOS and Deis Overview
[EXTENDED] Ceph, Docker, Heroku Slugs, CoreOS and Deis Overview[EXTENDED] Ceph, Docker, Heroku Slugs, CoreOS and Deis Overview
[EXTENDED] Ceph, Docker, Heroku Slugs, CoreOS and Deis Overview
 
Drush. Why should it be used?
Drush. Why should it be used?Drush. Why should it be used?
Drush. Why should it be used?
 
Pavlenko Sergey. Drush: using and creating custom commands. DrupalCamp Kyiv 2011
Pavlenko Sergey. Drush: using and creating custom commands. DrupalCamp Kyiv 2011Pavlenko Sergey. Drush: using and creating custom commands. DrupalCamp Kyiv 2011
Pavlenko Sergey. Drush: using and creating custom commands. DrupalCamp Kyiv 2011
 
Drupal Theme Development - DrupalCon Chicago 2011
Drupal Theme Development - DrupalCon Chicago 2011Drupal Theme Development - DrupalCon Chicago 2011
Drupal Theme Development - DrupalCon Chicago 2011
 
Drush for drupal website builder
Drush for drupal website builderDrush for drupal website builder
Drush for drupal website builder
 
Development Setup of B-Translator
Development Setup of B-TranslatorDevelopment Setup of B-Translator
Development Setup of B-Translator
 
A Drush Primer - DrupalCamp Chattanooga 2013
A Drush Primer - DrupalCamp Chattanooga 2013A Drush Primer - DrupalCamp Chattanooga 2013
A Drush Primer - DrupalCamp Chattanooga 2013
 
Drush&drupal. administration
Drush&drupal. administrationDrush&drupal. administration
Drush&drupal. administration
 
Drupal Day 2012 - Automating Drupal Development: Make!les, Features and Beyond
Drupal Day 2012 - Automating Drupal Development: Make!les, Features and BeyondDrupal Day 2012 - Automating Drupal Development: Make!les, Features and Beyond
Drupal Day 2012 - Automating Drupal Development: Make!les, Features and Beyond
 
Dc kyiv2010 jun_08
Dc kyiv2010 jun_08Dc kyiv2010 jun_08
Dc kyiv2010 jun_08
 
Drupal Deployment Troubles and Problems
Drupal Deployment Troubles and ProblemsDrupal Deployment Troubles and Problems
Drupal Deployment Troubles and Problems
 
Toolbox of a Ruby Team
Toolbox of a Ruby TeamToolbox of a Ruby Team
Toolbox of a Ruby Team
 
Ajax Performance Tuning and Best Practices
Ajax Performance Tuning and Best PracticesAjax Performance Tuning and Best Practices
Ajax Performance Tuning and Best Practices
 
Drush and drupal. администрирование волчек михаил
Drush and drupal. администрирование  волчек михаилDrush and drupal. администрирование  волчек михаил
Drush and drupal. администрирование волчек михаил
 
Drush and drupal. администрирование. Волчек Михаил
Drush and drupal. администрирование. Волчек МихаилDrush and drupal. администрирование. Волчек Михаил
Drush and drupal. администрирование. Волчек Михаил
 
Miscelaneous Debris
Miscelaneous DebrisMiscelaneous Debris
Miscelaneous Debris
 
Sergei Stryukov.Drush.Why it should be used.DrupalCamp Kyiv 2011
Sergei Stryukov.Drush.Why it should be used.DrupalCamp Kyiv 2011Sergei Stryukov.Drush.Why it should be used.DrupalCamp Kyiv 2011
Sergei Stryukov.Drush.Why it should be used.DrupalCamp Kyiv 2011
 
Optimize Site Deployments with Drush (DrupalCamp WNY 2011)
Optimize Site Deployments with Drush (DrupalCamp WNY 2011)Optimize Site Deployments with Drush (DrupalCamp WNY 2011)
Optimize Site Deployments with Drush (DrupalCamp WNY 2011)
 
Death of a Themer
Death of a ThemerDeath of a Themer
Death of a Themer
 
Deployment with Fabric
Deployment with FabricDeployment with Fabric
Deployment with Fabric
 

Más de Acquia

Acquia_Adcetera Webinar_Marketing Automation.pdf
Acquia_Adcetera Webinar_Marketing Automation.pdfAcquia_Adcetera Webinar_Marketing Automation.pdf
Acquia_Adcetera Webinar_Marketing Automation.pdfAcquia
 
Acquia Webinar Deck - 9_13 .pdf
Acquia Webinar Deck - 9_13 .pdfAcquia Webinar Deck - 9_13 .pdf
Acquia Webinar Deck - 9_13 .pdfAcquia
 
Taking Your Multi-Site Management at Scale to the Next Level
Taking Your Multi-Site Management at Scale to the Next LevelTaking Your Multi-Site Management at Scale to the Next Level
Taking Your Multi-Site Management at Scale to the Next LevelAcquia
 
CDP for Retail Webinar with Appnovation - Q2 2022.pdf
CDP for Retail Webinar with Appnovation - Q2 2022.pdfCDP for Retail Webinar with Appnovation - Q2 2022.pdf
CDP for Retail Webinar with Appnovation - Q2 2022.pdfAcquia
 
May Partner Bootcamp 2022
May Partner Bootcamp 2022May Partner Bootcamp 2022
May Partner Bootcamp 2022Acquia
 
April Partner Bootcamp 2022
April Partner Bootcamp 2022April Partner Bootcamp 2022
April Partner Bootcamp 2022Acquia
 
How to Unify Brand Experience: A Hootsuite Story
How to Unify Brand Experience: A Hootsuite Story How to Unify Brand Experience: A Hootsuite Story
How to Unify Brand Experience: A Hootsuite Story Acquia
 
Using Personas to Guide DAM Results: How Life Time Pumped Up Their UX and CX
Using Personas to Guide DAM Results: How Life Time Pumped Up Their UX and CXUsing Personas to Guide DAM Results: How Life Time Pumped Up Their UX and CX
Using Personas to Guide DAM Results: How Life Time Pumped Up Their UX and CXAcquia
 
Improve Code Quality and Time to Market: 100% Cloud-Based Development Workflow
Improve Code Quality and Time to Market: 100% Cloud-Based Development WorkflowImprove Code Quality and Time to Market: 100% Cloud-Based Development Workflow
Improve Code Quality and Time to Market: 100% Cloud-Based Development WorkflowAcquia
 
September Partner Bootcamp
September Partner BootcampSeptember Partner Bootcamp
September Partner BootcampAcquia
 
August partner bootcamp
August partner bootcampAugust partner bootcamp
August partner bootcampAcquia
 
July 2021 Partner Bootcamp
July  2021 Partner BootcampJuly  2021 Partner Bootcamp
July 2021 Partner BootcampAcquia
 
May Partner Bootcamp
May Partner BootcampMay Partner Bootcamp
May Partner BootcampAcquia
 
DRUPAL 7 END OF LIFE IS NEAR - MIGRATE TO DRUPAL 9 FAST AND EASY
DRUPAL 7 END OF LIFE IS NEAR - MIGRATE TO DRUPAL 9 FAST AND EASYDRUPAL 7 END OF LIFE IS NEAR - MIGRATE TO DRUPAL 9 FAST AND EASY
DRUPAL 7 END OF LIFE IS NEAR - MIGRATE TO DRUPAL 9 FAST AND EASYAcquia
 
Work While You Sleep: The CMO’s Guide to a 24/7/365 Lead Machine
Work While You Sleep: The CMO’s Guide to a 24/7/365 Lead MachineWork While You Sleep: The CMO’s Guide to a 24/7/365 Lead Machine
Work While You Sleep: The CMO’s Guide to a 24/7/365 Lead MachineAcquia
 
Acquia webinar: Leveraging Drupal to Bury Your Sales Team In B2B Leads
Acquia webinar: Leveraging Drupal to Bury Your Sales Team In B2B LeadsAcquia webinar: Leveraging Drupal to Bury Your Sales Team In B2B Leads
Acquia webinar: Leveraging Drupal to Bury Your Sales Team In B2B LeadsAcquia
 
April partner bootcamp deck cookieless future
April partner bootcamp deck  cookieless futureApril partner bootcamp deck  cookieless future
April partner bootcamp deck cookieless futureAcquia
 
How to enhance cx through personalised, automated solutions
How to enhance cx through personalised, automated solutionsHow to enhance cx through personalised, automated solutions
How to enhance cx through personalised, automated solutionsAcquia
 
DRUPAL MIGRATIONS AND DRUPAL 9 INNOVATION: HOW PAC-12 DELIVERED DIGITALLY FOR...
DRUPAL MIGRATIONS AND DRUPAL 9 INNOVATION: HOW PAC-12 DELIVERED DIGITALLY FOR...DRUPAL MIGRATIONS AND DRUPAL 9 INNOVATION: HOW PAC-12 DELIVERED DIGITALLY FOR...
DRUPAL MIGRATIONS AND DRUPAL 9 INNOVATION: HOW PAC-12 DELIVERED DIGITALLY FOR...Acquia
 
Customer Experience (CX): 3 Key Factors Shaping CX Redesign in 2021
Customer Experience (CX): 3 Key Factors Shaping CX Redesign in 2021Customer Experience (CX): 3 Key Factors Shaping CX Redesign in 2021
Customer Experience (CX): 3 Key Factors Shaping CX Redesign in 2021Acquia
 

Más de Acquia (20)

Acquia_Adcetera Webinar_Marketing Automation.pdf
Acquia_Adcetera Webinar_Marketing Automation.pdfAcquia_Adcetera Webinar_Marketing Automation.pdf
Acquia_Adcetera Webinar_Marketing Automation.pdf
 
Acquia Webinar Deck - 9_13 .pdf
Acquia Webinar Deck - 9_13 .pdfAcquia Webinar Deck - 9_13 .pdf
Acquia Webinar Deck - 9_13 .pdf
 
Taking Your Multi-Site Management at Scale to the Next Level
Taking Your Multi-Site Management at Scale to the Next LevelTaking Your Multi-Site Management at Scale to the Next Level
Taking Your Multi-Site Management at Scale to the Next Level
 
CDP for Retail Webinar with Appnovation - Q2 2022.pdf
CDP for Retail Webinar with Appnovation - Q2 2022.pdfCDP for Retail Webinar with Appnovation - Q2 2022.pdf
CDP for Retail Webinar with Appnovation - Q2 2022.pdf
 
May Partner Bootcamp 2022
May Partner Bootcamp 2022May Partner Bootcamp 2022
May Partner Bootcamp 2022
 
April Partner Bootcamp 2022
April Partner Bootcamp 2022April Partner Bootcamp 2022
April Partner Bootcamp 2022
 
How to Unify Brand Experience: A Hootsuite Story
How to Unify Brand Experience: A Hootsuite Story How to Unify Brand Experience: A Hootsuite Story
How to Unify Brand Experience: A Hootsuite Story
 
Using Personas to Guide DAM Results: How Life Time Pumped Up Their UX and CX
Using Personas to Guide DAM Results: How Life Time Pumped Up Their UX and CXUsing Personas to Guide DAM Results: How Life Time Pumped Up Their UX and CX
Using Personas to Guide DAM Results: How Life Time Pumped Up Their UX and CX
 
Improve Code Quality and Time to Market: 100% Cloud-Based Development Workflow
Improve Code Quality and Time to Market: 100% Cloud-Based Development WorkflowImprove Code Quality and Time to Market: 100% Cloud-Based Development Workflow
Improve Code Quality and Time to Market: 100% Cloud-Based Development Workflow
 
September Partner Bootcamp
September Partner BootcampSeptember Partner Bootcamp
September Partner Bootcamp
 
August partner bootcamp
August partner bootcampAugust partner bootcamp
August partner bootcamp
 
July 2021 Partner Bootcamp
July  2021 Partner BootcampJuly  2021 Partner Bootcamp
July 2021 Partner Bootcamp
 
May Partner Bootcamp
May Partner BootcampMay Partner Bootcamp
May Partner Bootcamp
 
DRUPAL 7 END OF LIFE IS NEAR - MIGRATE TO DRUPAL 9 FAST AND EASY
DRUPAL 7 END OF LIFE IS NEAR - MIGRATE TO DRUPAL 9 FAST AND EASYDRUPAL 7 END OF LIFE IS NEAR - MIGRATE TO DRUPAL 9 FAST AND EASY
DRUPAL 7 END OF LIFE IS NEAR - MIGRATE TO DRUPAL 9 FAST AND EASY
 
Work While You Sleep: The CMO’s Guide to a 24/7/365 Lead Machine
Work While You Sleep: The CMO’s Guide to a 24/7/365 Lead MachineWork While You Sleep: The CMO’s Guide to a 24/7/365 Lead Machine
Work While You Sleep: The CMO’s Guide to a 24/7/365 Lead Machine
 
Acquia webinar: Leveraging Drupal to Bury Your Sales Team In B2B Leads
Acquia webinar: Leveraging Drupal to Bury Your Sales Team In B2B LeadsAcquia webinar: Leveraging Drupal to Bury Your Sales Team In B2B Leads
Acquia webinar: Leveraging Drupal to Bury Your Sales Team In B2B Leads
 
April partner bootcamp deck cookieless future
April partner bootcamp deck  cookieless futureApril partner bootcamp deck  cookieless future
April partner bootcamp deck cookieless future
 
How to enhance cx through personalised, automated solutions
How to enhance cx through personalised, automated solutionsHow to enhance cx through personalised, automated solutions
How to enhance cx through personalised, automated solutions
 
DRUPAL MIGRATIONS AND DRUPAL 9 INNOVATION: HOW PAC-12 DELIVERED DIGITALLY FOR...
DRUPAL MIGRATIONS AND DRUPAL 9 INNOVATION: HOW PAC-12 DELIVERED DIGITALLY FOR...DRUPAL MIGRATIONS AND DRUPAL 9 INNOVATION: HOW PAC-12 DELIVERED DIGITALLY FOR...
DRUPAL MIGRATIONS AND DRUPAL 9 INNOVATION: HOW PAC-12 DELIVERED DIGITALLY FOR...
 
Customer Experience (CX): 3 Key Factors Shaping CX Redesign in 2021
Customer Experience (CX): 3 Key Factors Shaping CX Redesign in 2021Customer Experience (CX): 3 Key Factors Shaping CX Redesign in 2021
Customer Experience (CX): 3 Key Factors Shaping CX Redesign in 2021
 

Último

Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 

Último (20)

Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 

How to Use the Command Line to Increase Speed of Development

  • 1. How to Use the Command Line to Increase Speed of Development Dave Myburgh Senior Engineer and Team Lead on www.acquia.com
  • 2. About Me ● Dave Myburgh ● Team lead for www.acquia.com, training, dev, engage ● Most recently worked on docs D6 -> D8 update ● 10 years of Drupal ● First site in 4.7 and it's still running :) ● Started on PC, now on Mac ● From DOS to Terminal (autoexec.bat to .bash_profile)
  • 3. What we will cover ● Pimp out that prompt for Git ● Bash profile ● Aliases ● Drush ● File editing ● SASS & Compass ● Drupal 8 & Composer
  • 4. Pimp my prompt ● Git on the command line ● .git-completion.bash https://github. com/git/git/blob/master/contrib/completion/git- completion.bash ● .git-prompt.sh http://git-prompt.sh source ~/.git-completion.bash source ~/.git-prompt.sh export PS1="[fun_stuff_here]"
  • 5. export PS1='[t]:w[033[0;32m]$(__git_ps1 " (%s)")[033[0;0m]$ '; time path start green THE MAGIC end green For more prompt styling: https://wiki.archlinux.org/index.php/Bash/Prompt_customization PS1 = main/primary prompt
  • 6. Bash profile ● .bash_profile on Mac, .bash_rc on Linux ● aliases e.g. alias l="ls =al" ● directory listing colors e.g. export LSCOLORS=GxFxCxDxBxegedabagacad ● setting paths to programs: export PATH="$PATH:/Applications/Dev Desktop/drush"
  • 7. Bash profile (cont.) ● custom functions Convert an mp4 video file into an mp3: mp4-mp3() { # ${1%.*} returns only the filename, not the extension. ffmpeg -i "$1" -f mp3 -ab 192000 -vn "${1%.*}".mp3 } ● lots more out there: http://blog.taylormcgann.com/2012/06/13/customize-your-shell-command-prompt
  • 8. Bash profile: Aliases ● TIP: separate file for aliases, load from .bash_profile source ~/.aliases ● some of favorites: alias l="ls -al" alias dev="cd ~/Sites/devdesktop/acquiacom-dev/docroot" alias gitb="git branch" alias gits="git status" alias ssh-ac-dev="ssh [user].dev@[server].network.hosting.acquia.com" alias fixwebcam="sudo killall VDCAssistant"
  • 9. Drush ● The Drupal shell (http://www.drush.org) ● command line shell and scripting interface ● ships with lots of useful commands ● Drupal modules can add more commands e.g. Backup & Migrate ● THE most useful command line utility for Drupal
  • 10. Drush (cont.) ● Two main ways to get it: ○ Acquia Dev Desktop (Mac & Win) ○ install globally for your computer via command line: $ wget http://files.drush.org/drush.phar $ chmod +x drush.phar $ sudo mv drush.phar /usr/local/bin/drush ● http://docs.drush.org/en/master/install for more help
  • 11. Drush (cont.) ● Some of the most used commands: $ drush cc [all] (clear all caches) $ drush dl [module_name] $ drush en [module_name] $ drush updb (run update.php) $ drush sql-cli (login to mysql) $ drush sql-connect (show mysql connection string) $ drush uli [username] (user login) $ drush sa (show site aliases) $ drush @acquia.prod cc all (clear caches on acquia) $ drush up [module_name] (update modules)
  • 12. Drush (cont.) ● Some Drupal 8 changes & additions: $ drush cc all (clear all caches) => drush cr (cache rebuild) $ drush dis [module_name] (disable module) => drush pm-uninstall (also used in D7 & below) $ drush config-export / cex (export config) $ drush config-import / cim (import config) $ drush config-pull (copy config to new env) $ drush up drupal!! and many, many more... $ drush $ drush help [command]
  • 13. Drush (cont.) ● Acquia Dev Desktop: to avoid this: Command xxxx needs a higher bootstrap level to run...
  • 14. File Editing ● Vi (Vim), Nano, Emacs, etc. ● Personal favorite is nano ● Similar commands like DOS editors: Ctrl-[key] ● No typing : before commands ● Tip: show line numbers all the time (else nano -c) .nanorc: set const ● Some people use Vim for all editing, instead of an IDE like PHPStorm
  • 15. SASS & Compass ● Syntactically Awesome StyleSheets ● extension of CSS, so regular CSS is 100% valid ● get to use variables, nested rules, mixins (functions) ● files use .scss extension ● create separate files for regions/content types/whatever and they all get loaded by one file ● http://sass-lang.com ● https://smacss.com (scalable and modular architecture)
  • 16. SASS & Compass (cont.) ● Compass is a CSS authoring framework that uses SASS ● provides many useful mixins (functions) ● basically, it compiles your SASS files into actual CSS ● compass watch will monitor changes to your .scss files and rebuild the .css file ● requires Ruby and a config.rb file in theme folder ● http://compass-style.org
  • 17. SASS & Compass (cont.) Example: sass/style.scss: @import 'components/base'; sass/components/_base.scss: $blue: #29aee1; a { color: $blue; &:hover { color: darken($blue, 10%); } }
  • 18. SASS & Compass (cont.) Example: styles/style.css: a { color: #29aae1; } a:hover { color: #1a90bd; } $ compass watch (to constantly monitor for changes) $ compass compile (to manually update changes)
  • 19. SASS & Compass (cont.) ● SO much more... ● https://rvm.io/rvm/install (Ruby installation via RVM) ● http://www.ruby-lang.org/en/documentation/installation (regular Ruby install) ● http://sass-lang.com ● http://compass-style.org ● https://smacss.com
  • 20. Drupal 8 & Composer ● new way of managing site dependencies ● Composer Manager module is a helper module with a Drupal UI too (requires Composer command-line tool: https://getcomposer.org) ● can replace drush make or work with it ● some modules now use composer for their dependencies - look for composer.json file ● https://www.drupal. org/documentation/install/composer-dependencies
  • 21. Drupal 8 & Composer (cont.) ● so what's the workflow with composer? ● recommended to install composer_manager module, which will automatically update root composer.json with a module's requirements: $ drush dl composer_manager $ php modules/composer_manager/scripts/init.php ● then download your module(s) and run: $ composer drupal-update ● all dependencies, including core, will get updated
  • 22. Drupal 8 & Composer (cont.) ● without Composer Manager, you can manually edit root composer.json to add modules, run composer update to then download the module and its dependencies ● Note: vendor directory will get updated often! Don't worry, those dependencies are restricted to certain versions in core/composer.json, so things won't break e.g. "jcalderonzumba/mink-phantomjs-driver": "~0.3.1", (i.e. >=0.3.1 and <0.4)
  • 23. Q & A