X-Git-Url: https://git.r.bdr.sh/rbdr/junction/blobdiff_plain/bab26a4da2a2a0fdc88ec3af56909b12d822113a..c7eb2859ef12380a3ca2314912676283012c6703:/README.md?ds=inline diff --git a/README.md b/README.md index 345fa6b..ccd9b12 100644 --- a/README.md +++ b/README.md @@ -26,13 +26,21 @@ The project is divided into three main parts: ### Dependencies -- `make` to run the build commands. -- `xcode` to build the safari extension. +- `make` to run the build commands. It's included in `macos` +- `xcode` to build the safari extension. Can be downloaded from the + [apple developer portal][xcode-download]. - `node` and `pnpm` to build the extension, and if you want to run the server - directly. + directly. Node can be installed via brew with `brew install node`, or with + a version manager like [asdf][asdf]. For `pnpm` check the [website][pnpm]. - `podman` and `podman-compose` if you want to run the server as a container. -- `prettier` to format Javascript, JSON, Yaml, and Markdown. -- `xcbeautify` to format swift + Both can be installed with homebrew `brew install podman podman-compose` +- `prettier` to format Javascript, JSON, Yaml, and Markdown. Will automatically + install when running `make format`. +- `xcbeautify` to format swift. Can be installed with homebrew + `brew install xcbeautify` + +If you're running macos and using homebrew, you can install them all with +`make prepare-environment`. ### Server @@ -83,3 +91,7 @@ Open `Junction.app` and then enable the extension in Safari. ### Formatting Running `make format` will format the code with prettify and xcbeautify + +[xcode-download]: https://developer.apple.com/xcode/resources/ +[asdf]: https://asdf-vm.com/ +[pnpm]: https://pnpm.io/installation