Skip to content

A series of workshops covering the fundamental languages of an anti-capitalist internet

Notifications You must be signed in to change notification settings

public-office/workshop

Repository files navigation

Things to install

Terminal

Terminal.app (installed with MacOS) or iTerm

XCode Command line tools xcode-select --install

Text editor

Atom or VSCode

Homebrew /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

NodeJS brew install node

Yarn brew install yarn

MAMP Apache web server and PHP programming language

Git * brew install git

Identity and Keys

Generate a key

ssh-keygen -t ed25519

Show your public key

cat ~/.ssh/id_ed25519.pub

Copy public key to clipboard

cat ~/.ssh/id_ed25519.pub | pbcopy

Test key-based authentication with GitHub

ssh -T [email protected]

https://secure.vexxhost.com/billing/index.php/knowledgebase/171/How-can-I-generate-SSH-keys-on-Mac-OS-X.html

The Shell

  • clear
  • pwd
  • man
  • history
  • ls
  • cd
  • mkdir
  • touch

A directory for your code

mkdir ~/Sites
cd ~/Sites

Tell Git your name and email address

git config --global user.email "[email protected]"
git config --global user.name "Your Name"

Set MAMP htdocs to ~/Sites (default is /Applications/MAMP/htdocs)

Clone a repository

git clone [email protected]:public-office/workshop.git

Change into the new directory

cd workshop

Move "up" a directory, to it's parent

cd ..

Git commands

git status

git add .

git status

git commit -m 'A description of what I did'

About

A series of workshops covering the fundamental languages of an anti-capitalist internet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published