Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Setup Your Computer

Aaron Klinker edited this page Nov 20, 2021 · 4 revisions

Tools

You'll need the following tools installed to run applications locally:

  • nvm

  • NodeJS v14

    nvm install 14
  • pnpm

    npm i -g pnpm
  • docker

  • docker-compose

    This can be aliased if your version of docker contains docker compose

    alias docker-compose="docker compose"

    Eventually, all scripts will be moved to use docker compose instead of docker-compose

One Time Setup

GitHub Packages

I use GitHub packages to publish some utility libraries for the website and web extension. To install these extensions, even though they're public, you need to setup a PAT as your access token for the @anime-skip package namespace.

Generating a PAT from https://github.com/settings/tokens with the read:packages scope. Make sure the expiration is set to what you want, I set these harmless tokens to No expiration

Add it to your ~/.npmrc file:

//npm.pkg.github.com/:_authToken=your_pat_here

If you don't want to add it to your ~/.npmrc file, github lists a few other alternatives:

https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-npm-registry#authenticating-with-a-personal-access-token

OS Specific Configuration

Linux

None. Aaron develops on Ubuntu :)

Windows

  • nvm - This tool doesn't exactly exist for windows. Either install a compatible NodeJS version (14.x), or use this version of nvm for windows

MacOS

TODO - I don't develop on a mac, fill this out if you run into issues and you do!

Clone this wiki locally