Appendix A - Mac setup
Use this appendix if you are setting up service_docs on a Mac for the first time.
Install Git
Section titled “Install Git”If Git is not already installed, install Xcode Command Line Tools:
xcode-select --installOr, if you use Homebrew:
brew install gitVerify:
git --versionInstall Node.js LTS
Section titled “Install Node.js LTS”Download Node.js from the Node.js download page and install the LTS version.
If you use nvm:
nvm install --ltsnvm use --ltsNode.js also installs npm, which is the tool you use later to run npm ci and npm run dev.
Verify:
node --versionnpm --versionIf both commands show version numbers, Node.js and npm are installed.
Clone the repository
Section titled “Clone the repository”HTTPS:
git clone https://github.com/ZiplineTeam/service_docs.gitcd service_docsSSH:
git clone git@github.com:ZiplineTeam/service_docs.gitcd service_docsIf clone fails with a permission error, confirm that you are signed in to the right GitHub account and use Appendix D - Check GitHub access to check your repo and write access.
Install site dependencies
Section titled “Install site dependencies”From the repo root, install the Troubleshooting dependencies:
npm ci --prefix siteOpen in VS Code
Section titled “Open in VS Code”Open the service_docs folder in VS Code, then continue with Set up your workspace.