fix: add docker
This commit is contained in:
parent
a01f0c40fa
commit
83fe35e7fa
27
readme.md
27
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/)
|
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
|
### install homebrew
|
||||||
```sh
|
```sh
|
||||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.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!
|
feel free to use VSCode in windows for terminal and file editing!
|
||||||
|
|
||||||
## common
|
## 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 <YOUR USERNAME> -p <PASTE TOKEN HERE>
|
||||||
|
```
|
||||||
|
e.g. `docker login git.orionkindel.com -u orion -p abcxyz123`
|
||||||
|
|
||||||
|
### everything else
|
||||||
```sh
|
```sh
|
||||||
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.13.1
|
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.13.1
|
||||||
cat << "EOF" >> ~/.zshrc
|
cat << "EOF" >> ~/.zshrc
|
||||||
|
Loading…
Reference in New Issue
Block a user