DPI-WE / setting-up-a-development-environment

0 stars 3 forks source link

add section on setting up Workspace and scratch folders #7

Closed heratyian closed 6 months ago

heratyian commented 6 months ago

Here are my notes on this. Feel free to use your own images or adjust as you see fit.

It's a best practice to keep 1 workspace folder for all of your code. Let's set that up now.

  1. Open a terminal on your computer. Enter ⌘+spacebar to open spotlight and type in terminal. workspace-1
workspace-2
  1. Enter pwd command to print the working directory. It should look something like this.

% pwd

/Users/ianheraty

  1. Enter mkdir Workspace command to make a Workspace directory.

% pwd

/Users/ianheraty

% mkdir Workspace

  1. Enter ls command to list the contents of your directory and verify you have created the Workspace directory.

% ls

Applications Downloads Music Workspace

Desktop Library Pictures tmp

Documents Movies Public

  1. Enter open . command to open the current directory in finder.

% open .

  1. Drag Workspace folder to your favorites for easy access.
workspace-3

Please submit a screenshot showing this new folder.

Scratch folder 😼

Please create a scratch folder inside your Workspace.

scratch-folder-1

This is a place to experiment and create one off scripts and files.

scratch-folder-2

Please submit a screenshot showing this folder.