SlideShare a Scribd company logo
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!

More Related Content

What's hot

Writing and Publishing Puppet Modules
Writing and Publishing Puppet ModulesWriting and Publishing Puppet Modules
Writing and Publishing Puppet Modules
Puppet
 
Composer Tools & Frameworks for Drupal
Composer Tools & Frameworks for DrupalComposer Tools & Frameworks for Drupal
Composer Tools & Frameworks for Drupal
Pantheon
 
Composer & Drupal
Composer & DrupalComposer & Drupal
Composer & Drupal
drubb
 
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 Beginners
Chang W. Doh
 
Speed up Drupal development with Drush
Speed up Drupal development with DrushSpeed up Drupal development with Drush
Speed up Drupal development with Drush
kbasarab
 
Docker as development environment
Docker as development environmentDocker as development environment
Docker as development environment
Bruno de Lima e Silva
 
Drush in the Composer Era
Drush in the Composer EraDrush in the Composer Era
Drush in the Composer Era
Pantheon
 
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 Ozog
DrupalCamp 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 Libraries
Pantheon
 
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
Ovadiah Myrgorod
 
CI workflow in a web studio
CI workflow in a web studioCI workflow in a web studio
CI workflow in a web studio
deWeb
 
Configuration Kits - DrupalCamp NYC 2021
Configuration Kits - DrupalCamp NYC 2021Configuration Kits - DrupalCamp NYC 2021
Configuration Kits - DrupalCamp NYC 2021
Martin 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 like
Damien Seguin
 
Towards the perfect Drupal Dev Machine
Towards the perfect Drupal Dev MachineTowards the perfect Drupal Dev Machine
Towards the perfect Drupal Dev Machine
Krimson
 
JavaScript Task Runners - Gulp & Grunt
JavaScript Task Runners - Gulp & GruntJavaScript Task Runners - Gulp & Grunt
JavaScript Task Runners - Gulp & Grunt
Lohith Goudagere Nagaraj
 
Beginning Jquery In Drupal Theming
Beginning Jquery In Drupal ThemingBeginning Jquery In Drupal Theming
Beginning Jquery In Drupal Theming
Rob Knight
 
Grunt and Bower
Grunt and BowerGrunt and Bower
Grunt and Bower
George Estebe
 

What's hot (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
 

Viewers also liked

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 Kontrol
Barmed Studio
 
Health problems associated with aging
Health problems associated with agingHealth problems associated with aging
Health problems associated with aging
Stephanie Durbin
 
Iconic
IconicIconic
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 8
Acquia
 
Achizitii noi februarie 2016
Achizitii noi februarie 2016Achizitii noi februarie 2016
Achizitii noi februarie 2016
DIB 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 dermatologiche
Dina 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 metastasis
Professor Yasser Metwally
 
The Essay: Introductions
The Essay: IntroductionsThe Essay: Introductions
The Essay: Introductions
CC Undertree
 
The Essay: Body, Conclusion, and Titles
The Essay: Body, Conclusion, and TitlesThe Essay: Body, Conclusion, and Titles
The Essay: Body, Conclusion, and Titles
CC 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
 
Bias vs Variance
Bias vs VarianceBias vs Variance
Bias vs Variance
Franco Cedillo
 
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
Acquia
 

Viewers also liked (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 to 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 Overview
Leo 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 2011
Vlad Savitsky
 
Drupal Theme Development - DrupalCon Chicago 2011
Drupal Theme Development - DrupalCon Chicago 2011Drupal Theme Development - DrupalCon Chicago 2011
Drupal Theme Development - DrupalCon Chicago 2011
Ryan Price
 
Drush for drupal website builder
Drush for drupal website builderDrush for drupal website builder
Drush for drupal website builder
Adolfo Nasol
 
Development Setup of B-Translator
Development Setup of B-TranslatorDevelopment Setup of B-Translator
Development Setup of B-Translator
Dashamir Hoxha
 
A Drush Primer - DrupalCamp Chattanooga 2013
A Drush Primer - DrupalCamp Chattanooga 2013A Drush Primer - DrupalCamp Chattanooga 2013
A Drush Primer - DrupalCamp Chattanooga 2013
Chris Hales
 
Drush&drupal. administration
Drush&drupal. administrationDrush&drupal. administration
Drush&drupal. administration
zabej
 
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
DrupalDay
 
Dc kyiv2010 jun_08
Dc kyiv2010 jun_08Dc kyiv2010 jun_08
Dc kyiv2010 jun_08
Andrii Podanenko
 
Drupal Deployment Troubles and Problems
Drupal Deployment Troubles and ProblemsDrupal Deployment Troubles and Problems
Drupal Deployment Troubles and Problems
Andrii Lundiak
 
Toolbox of a Ruby Team
Toolbox of a Ruby TeamToolbox of a Ruby Team
Toolbox of a Ruby Team
Arto Artnik
 
Ajax Performance Tuning and Best Practices
Ajax Performance Tuning and Best PracticesAjax Performance Tuning and Best Practices
Ajax Performance Tuning and Best Practices
Doris 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 Debris
frewmbot
 
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
camp_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
 
Death of a Themer
Death of a ThemerDeath of a Themer
Death of a Themer
James Panton
 
Deployment with Fabric
Deployment with FabricDeployment with Fabric
Deployment with Fabric
andymccurdy
 

Similar to 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
 

More from Acquia

Acquia_Adcetera Webinar_Marketing Automation.pdf
Acquia_Adcetera Webinar_Marketing Automation.pdfAcquia_Adcetera Webinar_Marketing Automation.pdf
Acquia_Adcetera Webinar_Marketing Automation.pdf
Acquia
 
Acquia Webinar Deck - 9_13 .pdf
Acquia Webinar Deck - 9_13 .pdfAcquia Webinar Deck - 9_13 .pdf
Acquia Webinar Deck - 9_13 .pdf
Acquia
 
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
Acquia
 
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
Acquia
 
May Partner Bootcamp 2022
May Partner Bootcamp 2022May Partner Bootcamp 2022
May Partner Bootcamp 2022
Acquia
 
April Partner Bootcamp 2022
April Partner Bootcamp 2022April Partner Bootcamp 2022
April Partner Bootcamp 2022
Acquia
 
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 CX
Acquia
 
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
Acquia
 
September Partner Bootcamp
September Partner BootcampSeptember Partner Bootcamp
September Partner Bootcamp
Acquia
 
August partner bootcamp
August partner bootcampAugust partner bootcamp
August partner bootcamp
Acquia
 
July 2021 Partner Bootcamp
July  2021 Partner BootcampJuly  2021 Partner Bootcamp
July 2021 Partner Bootcamp
Acquia
 
May Partner Bootcamp
May Partner BootcampMay Partner Bootcamp
May Partner Bootcamp
Acquia
 
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
Acquia
 
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
 
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
Acquia
 
April partner bootcamp deck cookieless future
April partner bootcamp deck  cookieless futureApril partner bootcamp deck  cookieless future
April partner bootcamp deck cookieless future
Acquia
 
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
Acquia
 
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 2021
Acquia
 

More from 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
 

Recently uploaded

Y-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PPY-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PP
c5vrf27qcz
 
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Pitangent Analytics & Technology Solutions Pvt. Ltd
 
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
Alex Pruden
 
Essentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation ParametersEssentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation Parameters
Safe Software
 
Leveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and StandardsLeveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and Standards
Neo4j
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
Zilliz
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
Antonios Katsarakis
 
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
Edge AI and Vision Alliance
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge GraphGraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
Neo4j
 
"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota
Fwdays
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
Zilliz
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
operationspcvita
 
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and BioinformaticiansBiomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Neo4j
 
Apps Break Data
Apps Break DataApps Break Data
Apps Break Data
Ivo Velitchkov
 
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
Jason Yip
 
What is an RPA CoE? Session 1 – CoE Vision
What is an RPA CoE?  Session 1 – CoE VisionWhat is an RPA CoE?  Session 1 – CoE Vision
What is an RPA CoE? Session 1 – CoE Vision
DianaGray10
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
DianaGray10
 

Recently uploaded (20)

Y-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PPY-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PP
 
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
 
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
 
Essentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation ParametersEssentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation Parameters
 
Leveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and StandardsLeveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and Standards
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
 
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge GraphGraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
 
"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
 
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and BioinformaticiansBiomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
 
Apps Break Data
Apps Break DataApps Break Data
Apps Break Data
 
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
 
What is an RPA CoE? Session 1 – CoE Vision
What is an RPA CoE?  Session 1 – CoE VisionWhat is an RPA CoE?  Session 1 – CoE Vision
What is an RPA CoE? Session 1 – CoE Vision
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
 

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