diff --git a/readme.md b/readme.md index d8ef614..226432c 100644 --- a/readme.md +++ b/readme.md @@ -5,6 +5,18 @@ instructions may differ depending if you're on an intel mac or an apple silicon not sure which you have? [follow this guide to find out.](https://www.howtogeek.com/706226/how-to-check-if-your-mac-is-using-an-intel-or-apple-silicon-processor/) +### ssh +```sh +ssh-keygen -f thunderstrike_ed25519 -t ed25519 -N='' +ssh-add ~/.ssh/thunderstrike_ed25519 +cat thunderstrike_ed25519 | pbcopy +``` + +go to your [gitea ssh settings](https://git.orionkindel.com/user/settings/keys) and paste the new key with CMD+V + +### install docker +[install here](https://docs.docker.com/desktop/install/mac-install/) + ### install homebrew ```sh /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" @@ -82,6 +94,21 @@ if this all went well, continue to [common](#common) and assume code snippets sh feel free to use VSCode in windows for terminal and file editing! ## common +### docker login +go to [gitea application settings](https://git.orionkindel.com/user/settings/applications) and generate a new token: + +| name | repo / organization access | permissions | +| -- | -- | -- | +| local docker | All (public, private, and limited) | package: Read, all others: No Access | + +then copy the new token at the top of the page and paste it into this command: + +```sh +docker login git.orionkindel.com -u -p +``` +e.g. `docker login git.orionkindel.com -u orion -p abcxyz123` + +### everything else ```sh git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.13.1 cat << "EOF" >> ~/.zshrc