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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 git@github.com

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 "you@example.com"
git config --global user.name "Your Name"

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

Clone a repository

git clone git@github.com: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