Piped

(★ 10,192)

설계부터 효율적인, 사생활 보호에 친화적인 대안 YouTube 프론트엔드입니다.

파일 탐색기

  • .coderabbit.yaml
  • .dockerignore
  • .env
  • .gitignore
  • .prettierignore
  • .prettierrc.json
  • babel.config.js
  • CODE_OF_CONDUCT.md
  • Dockerfile
  • Dockerfile.ci
  • eslint.config.js
  • index.html
  • LICENSE
  • localizefonts.sh
  • package.json
  • pnpm-lock.yaml
  • pnpm-workspace.yaml
  • README.md
  • renovate.json
  • sweep.yaml
  • vercel.json
  • vite.config.js

# 설치 가이드

node
사전 준비물

설치 및 실행 절차

pnpm install

프로젝트 의존성을 설치합니다.

pnpm dev

개발 서버를 실행하고 실시간 반영을 활성화합니다.

핵심 명령어

pnpm install

package.json에 명시된 패키지 의존성을 설치합니다.

pnpm dev

Vite 기반 개발 서버를 실행하여 브라우저에서 확인할 수 있게 합니다.

프로젝트 루트에 있는 .env 파일을 필요에 맞게 수정하여 사용하세요.

# CDN으로 사용하기

jsDelivr

jsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.

명령어 용어집

이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.

🔍

git add

설명 보기 ▼

Stage changed files for a commit.

git add {{path/to/file}}

Stage a file for a commit:

git add {{[-A|--all]}}

Add all files (tracked and untracked):

git add .

Add all files recursively starting from the current folder:

🔍

git checkout

설명 보기 ▼

Checkout a branch or paths to the working tree.

git checkout -b {{branch_name}}

Create and switch to a new branch:

git checkout -b {{branch_name}} {{reference}}

Create and switch to a new branch based on a specific reference (branch, remote/branch, tag are examples of valid references):

git checkout {{branch_name}}

Switch to an existing local branch:

🔍

git commit

설명 보기 ▼

Commit files to the repository.

git commit

Open an editor to write a message and commit staged files to the repository:

git commit {{[-m|--message]}} "{{message}}"

Commit staged files to the repository with the specified message:

git commit {{[-F|--file]}} {{path/to/commit_message_file}}

Commit staged files with a message read from a file:

🔍

git push

설명 보기 ▼

Push commits to a remote repository.

git push

Send local changes in the current branch to its default remote counterpart:

git push {{remote_name}} {{local_branch}}

Send changes from a specific local branch to its remote counterpart:

git push {{[-u|--set-upstream]}} {{remote_name}} {{local_branch}}

Send changes from a specific local branch to its remote counterpart, and set the remote one as the default push/pull target of the local one:

🔍

pnpm

설명 보기 ▼

빠르고, 디스크 공간 효율적인 Node.js용 패키지 관리자.
Node.js 프로젝트 및 해당 모듈 의존성 관리.
더 많은 정보: <https://pnpm.io/pnpm-cli>.

pnpm init

`package.json` 파일 생성:

pnpm {{[i|install]}}

`package.json`에 의존성으로 나열된 모든 패키지를 다운로드:

pnpm add {{module_name}}@{{version}}

특정 버전의 패키지를 다운로드하여 `package.json`의 의존성 목록에 추가:

# 프로젝트 배지

// repository documentation