SlideShare une entreprise Scribd logo
1  sur  26
Télécharger pour lire hors ligne
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

Contenu connexe

Similaire à Command Line for Designers - WordCamp Philly

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
Edorian
 

Similaire à 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
 

Plus de Lauren Pittenger

Plus de 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
 

Dernier

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Dernier (20)

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 

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