cloudpebble

(★ 31)

CloudPebble - Web-based IDE for Pebble development

파일 탐색기

  • .env
  • .gitignore
  • BUILD_TRIGGER.txt
  • compose.hetzner.yml
  • deploy_dev.sh
  • deploy_hetzner.sh
  • deploy_qemu.sh
  • dev_setup.sh
  • docker-compose.yml
  • LICENSE
  • pyrightconfig.json
  • README.md

# CDN으로 사용하기

jsDelivr

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

명령어 용어집

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

🔍

docker compose up

설명 보기 ▼

Start and run Docker services defined in a Compose file.

docker compose up

Start all services defined in the docker-compose file:

docker compose up {{[-d|--detach]}}

Start services in the background (detached mode):

docker compose up --build

Start services and rebuild images before starting:

🔍

docker compose

설명 보기 ▼

Run and manage multi container Docker applications.

docker compose ps

List all running containers:

docker compose up {{[-d|--detach]}}

Create and start all containers in the background using a `docker-compose.yml` file from the current directory:

docker compose up --build

Start all containers, rebuild if necessary:

🔍

docker

설명 보기 ▼

Docker 컨테이너 및 이미지를 관리.
`run`과 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다.
더 많은 정보: <https://docs.docker.com/reference/cli/docker/>.

docker {{[ps|container ls]}} {{[-a|--all]}}

모든 도커 컨테이너들(실행 및 중지) 목록 보기:

docker {{[run|container run]}} --name {{container_name}} {{image}}

사용자 정의 이름으로 이미지로부터 컨테이너 실행:

docker container {{start|stop}} {{container_name}}

기존 컨테이너 시작 또는 중지:

🔍

git clone

설명 보기 ▼

Clone an existing repository.

git clone {{remote_repository_location}} {{path/to/directory}}

Clone an existing repository into a new directory (the default directory is the repository name):

git clone --recursive {{remote_repository_location}}

Clone an existing repository and its submodules:

git clone {{[-n|--no-checkout]}} {{remote_repository_location}}

Clone only the `.git` directory of an existing repository:

🔍

ngrok

설명 보기 ▼

로컬에서 실행 중인 웹 서비스에 공용 엔드포인트로부터 안전한 터널을 생성하는 리버스 프록시.
더 많은 정보: <https://ngrok.com/docs/agent/cli>.

ngrok http {{80}}

지정된 포트로 로컬 HTTP 서비스 노출:

ngrok http {{example.com}}:{{80}}

특정 호스트에서 로컬 HTTP 서비스 노출:

ngrok http https://localhost

로컬 HTTPS 서버 노출:

🔍

rsync

설명 보기 ▼

기본적으로 SSH를 사용하여 원격 호스트 간에 파일을 전송합니다(두 원격 호스트 사이는 아닙니다).
원격 경로를 지정하려면, `호스트:경로/대상/파일_또는_폴더`를 사용하세요.
더 많은 정보: <https://download.samba.org/pub/rsync/rsync.1>.

rsync {{path/to/source}} {{path/to/destination}}

파일 전송:

rsync {{[-a|--archive]}} {{path/to/source}} {{path/to/destination}}

아카이브 모드 (디렉토리를 반복적으로 복사하고, 권한, 소유권, 수정 시간을 확인 및 보존하지 않고 심볼릭 링크를 복사) 사용:

rsync {{[-zvhP|--compress --verbose --human-readable --partial --progress]}} {{path/to/source}} {{path/to/destination}}

데이터가 대상으로 전송될 때 압축하고, 사람이 읽을 수 있는 자세한 진행 상황을 표시하고, 중단된 경우 부분적으로 전송된 파일 유지:

🔍

sed

설명 보기 ▼

스크립트 가능한 방식으로 텍스트 편집.
관련 항목: `awk`, `ed`.
더 많은 정보: <https://manned.org/sed.1posix>.

{{command}} | sed 's/apple/mango/g'

모든 입력 줄에서 모든 `apple`(기본 `regex`)항목을 `mango`(기본 `regex`)로 바꾸고 결과를 `stdout`에 출력:

{{command}} | sed 's/apple/mango/g'

모든 입력 라인에서 `apple` (기본 `regex`)을 `mango` (기본 `regex`)로 대체하고 결과를 `stdout`에 인쇄:

{{command}} | sed 's/apple/mango/g'

모든 입력 줄에서 `apple` (기본 `regex`) 발생 부분을 `mango` (기본 `regex`)로 대체하고 결과를 `stdout`에 출력:

🔍

ssh

설명 보기 ▼

Secure Shell은 원격 시스템에 안전하게 로그인하기 위한 프로토콜입니다.
원격 서버에 로그인하거나 명령을 실행하는 데 사용할 수 있습니다.
더 많은 정보: <https://man.openbsd.org/ssh>.

ssh {{username}}@{{remote_host}}

원격 서버에 연결:

ssh {{username}}@{{remote_host}} -i {{path/to/key_file}}

특정 신원(개인 키)으로 원격 서버에 연결:

ssh {{username}}@10.0.0.1 -p {{2222}}

특정 [p]포트를 사용하여 원격 서버에 연결:

🔍

yes

설명 보기 ▼

무언가를 반복적으로 출력.
이 명령은 일반적으로 설치 명령(예: `apt-get`)의 모든 프롬프트에 'yes'로 응답하기 위해 사용됩니다.
더 많은 정보: <https://www.gnu.org/software/coreutils/manual/html_node/yes-invocation.html>.

yes

"y"를 반복적으로 출력:

yes {{value}}

"메시지"를 반복적으로 출력:

yes | sudo apt-get install {{program}}

`apt-get` 명령의 모든 프롬프트에 수락:

🔍

apt-get

설명 보기 ▼

Debian 및 Ubuntu 패키지 관리 도구.
`apt-cache`를 사용하여 패키지를 검색하세요.
Ubuntu 16.04 이후 버전에서는 대화형 사용 시 `apt` 사용을 권장합니다.
더 많은 정보: <https://manned.org/apt-get.8>.

sudo apt-get update

사용 가능한 패키지 및 버전 목록 업데이트 (다른 `apt-get` 명령어 실행 전에 권장됨):

sudo apt-get install {{package}}

패키지 설치 또는 최신 버전으로 업데이트:

sudo apt-get remove {{package}}

패키지 제거:

🔍

trust

설명 보기 ▼

신뢰 정책 저장소를 운영합니다.
더 많은 정보: <https://manned.org/trust>.

trust list

신뢰 정책 저장소 항목 나열:

trust list --filter={{blocklist|ca-anchors|certificates|trust-policy}}

신뢰 정책 저장소의 특정 항목에 대한 정보 나열:

trust anchor {{path/to/certificate.crt}}

특정 신뢰 앵커를 신뢰 정책 저장소에 저장:

🔍

usermod

설명 보기 ▼

사용자 계정을 수정합니다.
관련 항목: `users`, `useradd`, `userdel`.
더 많은 정보: <https://manned.org/usermod>.

sudo usermod {{[-l|--login]}} {{new_username}} {{username}}

사용자명을 변경:

sudo usermod {{[-u|--uid]}} {{id}} {{username}}

사용자 ID 변경:

sudo usermod {{[-s|--shell]}} {{path/to/shell}} {{username}}

사용자 셸 변경:

// repository documentation