SlideShare a Scribd company logo
THE COMMAND LINE FOR DESIGNERSTHE COMMAND LINE FOR DESIGNERS
Intro to
Presented by /Lauren Pittenger @laurenpittenger
Slides: bit.ly/command-line-for-designers
Front End Designer & Developer at LBDesign, a global
communications consultancy
Instructor for the Women's Coding Collective of
WordPress Basics and JavaScript & jQuery courses
TA & Volunteer for GirlDevelopIt
ABOUT LAURENABOUT LAUREN
You are a designer
You want to learn how to complete common
tasks using the command line such as using
version control and compiling SASS
You want to bridge the gap between your
designer & developer skills
ABOUT YOUABOUT YOU
What is the command line?
Benefits of using the command line over GUIs
A few basic commands
Exercise: setting up a local WordPress install
WHAT WE'LL COVERWHAT WE'LL COVER
A way for us to tell programs what to do through
sequential lines of text called commands, as
opposed to using the mouse to point and click
WHAT IS THE COMMAND LINE?WHAT IS THE COMMAND LINE?
We can use the command line to reduce number of
programs running simultaneously
It can serve as a "home base" when working on unfamiliar
computers
Gives us access to functionality otherwise unavailable to
us
As we advance our command line skills, it can help save us
a lot of time
I'M A DESIGNER. WHO CARES?I'M A DESIGNER. WHO CARES?
COMMAND LINE VS. GUICOMMAND LINE VS. GUI
“ For one, the command line is the only place you
can run all Git commands – most of the GUIs only
implement some subset of Git functionality for
simplicity.
Git - The Command Line
WHAT CAN I DO WITH IT?WHAT CAN I DO WITH IT?
Download & install WordPress core, themes
and plugins
Set up & manage a local database
Compile Sass
Version control
Make ASCII art
So much more!
ON A MACON A MAC
Applications › Utilities › Terminal
WHERE TO FIND ITWHERE TO FIND IT
ON WINDOWSON WINDOWS
Start › All Programs › Accessories › Command Prompt
THE ANATOMY OF THE PROMPTTHE ANATOMY OF THE PROMPT
~ represents the user's home folder
BASIC COMMANDSBASIC COMMANDS
PRINT WORKING DIRECTORYPRINT WORKING DIRECTORY
pwd
LIST DIRECTORY CONTENTSLIST DIRECTORY CONTENTS
ls
CHANGE DIRECTORIESCHANGE DIRECTORIEScd
NAVIGATINGNAVIGATING
Go home
Go one directory up from current directory
Go to root
A FEW TIPSA FEW TIPS
Tab to Autocomplete
Up arrow key to scroll through commands previously entered
COMMANDS TO BE CAREFUL OFCOMMANDS TO BE CAREFUL OF
rm filename
Permanently delete a file immediately
Does not go to Trash
rmdir directoryname
Permanently delete a folder immediately
Does not go to Trash
NEED HELP?NEED HELP?
help
Access user manual
NOW THAT WE KNOW A FEWNOW THAT WE KNOW A FEW
BASIC COMMANDSBASIC COMMANDS
LET'S PUT THEM INTO ACTIONLET'S PUT THEM INTO ACTION
ONEONE
TWOTWO
THREETHREE
FOURFOUR
cd ~/Desktop
Navigate to Desktop
mkdir mynewdirectory
Create new directory
cd mynewdirectory
Enter new directory
pwd
Check your current location
INSTALLING WORDPRESS EXERCISEINSTALLING WORDPRESS EXERCISE
FIVEFIVE
SIXSIX
SEVENSEVEN
DOWNLOAD & EXTRACTINGDOWNLOAD & EXTRACTING
Download WordPress
curl -O https://wordpress.org/latest.zip
unzip latest.zip
Extracting the file
cd wordpress
Navigate into "wordpress" directory
SET UP YOUR DATABASESET UP YOUR DATABASE
Complete this step the way you normally would
CREATE & EDIT WP-CONFIG.PHPCREATE & EDIT WP-CONFIG.PHP
cp wp-config-sample.php wp-config.php
Copy wp-config-sample.php to wp-config.php
open wp-config.php
Open the file with default editor
NINENINE
TENTEN
Fosswire Unix/Linux
Command Reference
Cheatsheet
WP-CLI: A command line
interface for WordPress
Git: Getting Started
Lifehacker: A Command
Line Primer for Beginners
Getting Started with Sass
and Compass
The designer’s guide to the
OSX command prompt
RESOURCESRESOURCES
THE DESIGNER'S COMMAND LINETHE DESIGNER'S COMMAND LINE
Git: Getting Started
Getting Started with Sass and Compass
The designer’s guide to the OSX command prompt
BEFORE WE GOBEFORE WE GO
banner -w 30 THX!
ANY QUESTIONS?ANY QUESTIONS?
Slides: bit.ly/command-line-for-designers
@laurenpittenger
laurenpittenger.com

More Related Content

Similar to Command Line for Designers - WordCamp Philly

WordPress: Doing Simply & Effectively
WordPress: Doing Simply & EffectivelyWordPress: Doing Simply & Effectively
WordPress: Doing Simply & Effectivelyarryaas
 
The pragmatic programmer
The pragmatic programmerThe pragmatic programmer
The pragmatic programmerLeylimYaln
 
DevOps For Small Teams
DevOps For Small TeamsDevOps For Small Teams
DevOps For Small TeamsJoe Ferguson
 
Tech Stack Ideas
Tech Stack IdeasTech Stack Ideas
Tech Stack Ideasnsclark
 
Beyond FTP: What I’ve Learned from Years of Deploying WordPress the Wrong Way
Beyond FTP:  What I’ve Learned from Years of Deploying WordPress the Wrong WayBeyond FTP:  What I’ve Learned from Years of Deploying WordPress the Wrong Way
Beyond FTP: What I’ve Learned from Years of Deploying WordPress the Wrong WayEli Silverman
 
A Developer Day 2014 - Durban
A Developer Day 2014 - Durban A Developer Day 2014 - Durban
A Developer Day 2014 - Durban Robert MacLean
 
Leveraging a distributed architecture to your advantage
Leveraging a distributed architecture to your advantageLeveraging a distributed architecture to your advantage
Leveraging a distributed architecture to your advantageMichelangelo van Dam
 
Midwest PHP 2017 DevOps For Small team
Midwest PHP 2017 DevOps For Small teamMidwest PHP 2017 DevOps For Small team
Midwest PHP 2017 DevOps For Small teamJoe Ferguson
 
Jr devsurvivalguide
Jr devsurvivalguideJr devsurvivalguide
Jr devsurvivalguideJames York
 
Batch File Programming
Batch File ProgrammingBatch File Programming
Batch File ProgrammingFrz Khan
 
Save time by applying clean code principles
Save time by applying clean code principlesSave time by applying clean code principles
Save time by applying clean code principlesEdorian
 
Learning to be IDE Free (PrDC 2015)
Learning to be IDE Free (PrDC 2015)Learning to be IDE Free (PrDC 2015)
Learning to be IDE Free (PrDC 2015)David Wesst
 
Madison PHP 2015 - DevOps For Small Teams
Madison PHP 2015 - DevOps For Small TeamsMadison PHP 2015 - DevOps For Small Teams
Madison PHP 2015 - DevOps For Small TeamsJoe Ferguson
 
ZendCon 2015 - DevOps for Small Teams
ZendCon 2015 - DevOps for Small TeamsZendCon 2015 - DevOps for Small Teams
ZendCon 2015 - DevOps for Small TeamsJoe Ferguson
 
Extending your WordPress Toolbelt with WP-CLI - WordCamp Austin 2014
Extending your WordPress Toolbelt with WP-CLI - WordCamp Austin 2014Extending your WordPress Toolbelt with WP-CLI - WordCamp Austin 2014
Extending your WordPress Toolbelt with WP-CLI - WordCamp Austin 2014ryanduff
 

Similar to Command Line for Designers - WordCamp Philly (20)

WordPress: Doing Simply & Effectively
WordPress: Doing Simply & EffectivelyWordPress: Doing Simply & Effectively
WordPress: Doing Simply & Effectively
 
The pragmatic programmer
The pragmatic programmerThe pragmatic programmer
The pragmatic programmer
 
Images, Deep Dive!
Images, Deep Dive!Images, Deep Dive!
Images, Deep Dive!
 
DevOps For Small Teams
DevOps For Small TeamsDevOps For Small Teams
DevOps For Small Teams
 
Tech Stack Ideas
Tech Stack IdeasTech Stack Ideas
Tech Stack Ideas
 
Beyond FTP: What I’ve Learned from Years of Deploying WordPress the Wrong Way
Beyond FTP:  What I’ve Learned from Years of Deploying WordPress the Wrong WayBeyond FTP:  What I’ve Learned from Years of Deploying WordPress the Wrong Way
Beyond FTP: What I’ve Learned from Years of Deploying WordPress the Wrong Way
 
A Developer Day 2014 - Durban
A Developer Day 2014 - Durban A Developer Day 2014 - Durban
A Developer Day 2014 - Durban
 
Leveraging a distributed architecture to your advantage
Leveraging a distributed architecture to your advantageLeveraging a distributed architecture to your advantage
Leveraging a distributed architecture to your advantage
 
Linux programming - Getting self started
Linux programming - Getting self started Linux programming - Getting self started
Linux programming - Getting self started
 
No-script PowerShell v2
No-script PowerShell v2No-script PowerShell v2
No-script PowerShell v2
 
Web Hooks
Web HooksWeb Hooks
Web Hooks
 
Midwest PHP 2017 DevOps For Small team
Midwest PHP 2017 DevOps For Small teamMidwest PHP 2017 DevOps For Small team
Midwest PHP 2017 DevOps For Small team
 
Jr devsurvivalguide
Jr devsurvivalguideJr devsurvivalguide
Jr devsurvivalguide
 
Batch File Programming
Batch File ProgrammingBatch File Programming
Batch File Programming
 
Save time by applying clean code principles
Save time by applying clean code principlesSave time by applying clean code principles
Save time by applying clean code principles
 
Learning to be IDE Free (PrDC 2015)
Learning to be IDE Free (PrDC 2015)Learning to be IDE Free (PrDC 2015)
Learning to be IDE Free (PrDC 2015)
 
Lando - AddWeb Solution
Lando - AddWeb Solution Lando - AddWeb Solution
Lando - AddWeb Solution
 
Madison PHP 2015 - DevOps For Small Teams
Madison PHP 2015 - DevOps For Small TeamsMadison PHP 2015 - DevOps For Small Teams
Madison PHP 2015 - DevOps For Small Teams
 
ZendCon 2015 - DevOps for Small Teams
ZendCon 2015 - DevOps for Small TeamsZendCon 2015 - DevOps for Small Teams
ZendCon 2015 - DevOps for Small Teams
 
Extending your WordPress Toolbelt with WP-CLI - WordCamp Austin 2014
Extending your WordPress Toolbelt with WP-CLI - WordCamp Austin 2014Extending your WordPress Toolbelt with WP-CLI - WordCamp Austin 2014
Extending your WordPress Toolbelt with WP-CLI - WordCamp Austin 2014
 

More from Lauren Pittenger

Systems + Processes for Creatives – WordCamp Philadelphia 2017
Systems + Processes for Creatives – WordCamp Philadelphia 2017Systems + Processes for Creatives – WordCamp Philadelphia 2017
Systems + Processes for Creatives – WordCamp Philadelphia 2017Lauren Pittenger
 
Using Github to Share Talk Ideas
Using Github to Share Talk IdeasUsing Github to Share Talk Ideas
Using Github to Share Talk IdeasLauren Pittenger
 
What The Flexbox? An Intro to Flexbox
What The Flexbox? An Intro to FlexboxWhat The Flexbox? An Intro to Flexbox
What The Flexbox? An Intro to FlexboxLauren Pittenger
 
Web Hosting for WordPress: WP Engine
Web Hosting for WordPress: WP EngineWeb Hosting for WordPress: WP Engine
Web Hosting for WordPress: WP EngineLauren Pittenger
 
A Single Div: A Learning Experiment
A Single Div: A Learning ExperimentA Single Div: A Learning Experiment
A Single Div: A Learning ExperimentLauren Pittenger
 
The Art of Minimalist Design
The Art of Minimalist DesignThe Art of Minimalist Design
The Art of Minimalist DesignLauren Pittenger
 
Using Slickplan to Help Plan a Website Redesign
Using Slickplan to Help Plan a Website RedesignUsing Slickplan to Help Plan a Website Redesign
Using Slickplan to Help Plan a Website RedesignLauren Pittenger
 
Systems + Processes for Creatives – WordCamp Pittsburgh 2017
Systems + Processes for Creatives – WordCamp Pittsburgh 2017Systems + Processes for Creatives – WordCamp Pittsburgh 2017
Systems + Processes for Creatives – WordCamp Pittsburgh 2017Lauren Pittenger
 
Creating a button shortcode
Creating a button shortcodeCreating a button shortcode
Creating a button shortcodeLauren Pittenger
 

More from Lauren Pittenger (12)

Systems + Processes for Creatives – WordCamp Philadelphia 2017
Systems + Processes for Creatives – WordCamp Philadelphia 2017Systems + Processes for Creatives – WordCamp Philadelphia 2017
Systems + Processes for Creatives – WordCamp Philadelphia 2017
 
Using Github to Share Talk Ideas
Using Github to Share Talk IdeasUsing Github to Share Talk Ideas
Using Github to Share Talk Ideas
 
What The Flexbox? An Intro to Flexbox
What The Flexbox? An Intro to FlexboxWhat The Flexbox? An Intro to Flexbox
What The Flexbox? An Intro to Flexbox
 
Web Hosting for WordPress: WP Engine
Web Hosting for WordPress: WP EngineWeb Hosting for WordPress: WP Engine
Web Hosting for WordPress: WP Engine
 
PSD to WordPress Theme
PSD to WordPress ThemePSD to WordPress Theme
PSD to WordPress Theme
 
A Single Div: A Learning Experiment
A Single Div: A Learning ExperimentA Single Div: A Learning Experiment
A Single Div: A Learning Experiment
 
My Favorite Design Tools
My Favorite Design ToolsMy Favorite Design Tools
My Favorite Design Tools
 
The Art of Minimalist Design
The Art of Minimalist DesignThe Art of Minimalist Design
The Art of Minimalist Design
 
WordPress Child Themes
WordPress Child ThemesWordPress Child Themes
WordPress Child Themes
 
Using Slickplan to Help Plan a Website Redesign
Using Slickplan to Help Plan a Website RedesignUsing Slickplan to Help Plan a Website Redesign
Using Slickplan to Help Plan a Website Redesign
 
Systems + Processes for Creatives – WordCamp Pittsburgh 2017
Systems + Processes for Creatives – WordCamp Pittsburgh 2017Systems + Processes for Creatives – WordCamp Pittsburgh 2017
Systems + Processes for Creatives – WordCamp Pittsburgh 2017
 
Creating a button shortcode
Creating a button shortcodeCreating a button shortcode
Creating a button shortcode
 

Recently uploaded

Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...CzechDreamin
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Product School
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxDavid Michel
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...Product School
 
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomCzechDreamin
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesThousandEyes
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersSafe Software
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoTAnalytics
 
UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1DianaGray10
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxAbida Shariff
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Alison B. Lowndes
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonDianaGray10
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Product School
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor TurskyiFwdays
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...CzechDreamin
 
Demystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyDemystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyJohn Staveley
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...Product School
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupCatarinaPereira64715
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Thierry Lestable
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlPeter Udo Diehl
 

Recently uploaded (20)

Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024
 
UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
 
Demystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyDemystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John Staveley
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
 

Command Line for Designers - WordCamp Philly

  • 1. THE COMMAND LINE FOR DESIGNERSTHE COMMAND LINE FOR DESIGNERS Intro to Presented by /Lauren Pittenger @laurenpittenger Slides: bit.ly/command-line-for-designers
  • 2. Front End Designer & Developer at LBDesign, a global communications consultancy Instructor for the Women's Coding Collective of WordPress Basics and JavaScript & jQuery courses TA & Volunteer for GirlDevelopIt ABOUT LAURENABOUT LAUREN
  • 3. You are a designer You want to learn how to complete common tasks using the command line such as using version control and compiling SASS You want to bridge the gap between your designer & developer skills ABOUT YOUABOUT YOU
  • 4. What is the command line? Benefits of using the command line over GUIs A few basic commands Exercise: setting up a local WordPress install WHAT WE'LL COVERWHAT WE'LL COVER
  • 5. A way for us to tell programs what to do through sequential lines of text called commands, as opposed to using the mouse to point and click WHAT IS THE COMMAND LINE?WHAT IS THE COMMAND LINE?
  • 6. We can use the command line to reduce number of programs running simultaneously It can serve as a "home base" when working on unfamiliar computers Gives us access to functionality otherwise unavailable to us As we advance our command line skills, it can help save us a lot of time I'M A DESIGNER. WHO CARES?I'M A DESIGNER. WHO CARES?
  • 7. COMMAND LINE VS. GUICOMMAND LINE VS. GUI “ For one, the command line is the only place you can run all Git commands – most of the GUIs only implement some subset of Git functionality for simplicity. Git - The Command Line
  • 8. WHAT CAN I DO WITH IT?WHAT CAN I DO WITH IT? Download & install WordPress core, themes and plugins Set up & manage a local database Compile Sass Version control Make ASCII art So much more!
  • 9. ON A MACON A MAC Applications › Utilities › Terminal WHERE TO FIND ITWHERE TO FIND IT ON WINDOWSON WINDOWS Start › All Programs › Accessories › Command Prompt
  • 10. THE ANATOMY OF THE PROMPTTHE ANATOMY OF THE PROMPT ~ represents the user's home folder
  • 12. PRINT WORKING DIRECTORYPRINT WORKING DIRECTORY pwd
  • 13. LIST DIRECTORY CONTENTSLIST DIRECTORY CONTENTS ls
  • 15. NAVIGATINGNAVIGATING Go home Go one directory up from current directory Go to root
  • 16. A FEW TIPSA FEW TIPS Tab to Autocomplete Up arrow key to scroll through commands previously entered
  • 17. COMMANDS TO BE CAREFUL OFCOMMANDS TO BE CAREFUL OF rm filename Permanently delete a file immediately Does not go to Trash rmdir directoryname Permanently delete a folder immediately Does not go to Trash
  • 19. NOW THAT WE KNOW A FEWNOW THAT WE KNOW A FEW BASIC COMMANDSBASIC COMMANDS LET'S PUT THEM INTO ACTIONLET'S PUT THEM INTO ACTION
  • 20. ONEONE TWOTWO THREETHREE FOURFOUR cd ~/Desktop Navigate to Desktop mkdir mynewdirectory Create new directory cd mynewdirectory Enter new directory pwd Check your current location INSTALLING WORDPRESS EXERCISEINSTALLING WORDPRESS EXERCISE
  • 21. FIVEFIVE SIXSIX SEVENSEVEN DOWNLOAD & EXTRACTINGDOWNLOAD & EXTRACTING Download WordPress curl -O https://wordpress.org/latest.zip unzip latest.zip Extracting the file cd wordpress Navigate into "wordpress" directory
  • 22. SET UP YOUR DATABASESET UP YOUR DATABASE Complete this step the way you normally would
  • 23. CREATE & EDIT WP-CONFIG.PHPCREATE & EDIT WP-CONFIG.PHP cp wp-config-sample.php wp-config.php Copy wp-config-sample.php to wp-config.php open wp-config.php Open the file with default editor NINENINE TENTEN
  • 24. Fosswire Unix/Linux Command Reference Cheatsheet WP-CLI: A command line interface for WordPress Git: Getting Started Lifehacker: A Command Line Primer for Beginners Getting Started with Sass and Compass The designer’s guide to the OSX command prompt RESOURCESRESOURCES
  • 25. THE DESIGNER'S COMMAND LINETHE DESIGNER'S COMMAND LINE Git: Getting Started Getting Started with Sass and Compass The designer’s guide to the OSX command prompt BEFORE WE GOBEFORE WE GO banner -w 30 THX!
  • 26. ANY QUESTIONS?ANY QUESTIONS? Slides: bit.ly/command-line-for-designers @laurenpittenger laurenpittenger.com