ramanujan

(★ 197)

An example microservice system using Seneca, based on the example in Chapter 1 of The Tao of Microservices book

파일 탐색기

  • .gitignore
  • .travis.yml
  • LICENSE
  • package.json
  • README.md
  • start.sh

# CDN으로 사용하기

jsDelivr

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

명령어 용어집

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

🔍

docker exec

설명 보기 ▼

This command is an alias of `docker container exec`.

tldr docker container exec

View documentation for the original command:

🔍

docker ps

설명 보기 ▼

This command is an alias of `docker container ls`.

tldr docker container ls

View documentation for the original command:

🔍

docker run

설명 보기 ▼

This command is an alias of `docker container run`.

tldr docker container run

View documentation for the original command:

🔍

docker stats

설명 보기 ▼

This command is an alias of `docker container stats`.

tldr docker container stats

View documentation for the original command:

🔍

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:

🔍

node

설명 보기 ▼

서버 측 JavaScript 플랫폼 (Node.js).
더 많은 정보: <https://nodejs.org/docs/latest/api/cli.html#options>.

node {{path/to/file}}

JavaScript 파일 실행:

node

REPL(대화형 셸) 시작:

node --watch {{path/to/file}}

지정된 파일을 실행하고 가져온 파일이 변경될 때 프로세스를 재시작 (Node.js 버전 18.11+ 필요):

🔍

npm install

설명 보기 ▼

Install Node packages.

npm {{[i|install]}}

Install dependencies listed in `package.json`:

npm {{[i|install]}} {{package_name}}@{{version}}

Download a specific version of a package and add it to the list of dependencies in `package.json`:

npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}

Download the latest version of a package and add it to the list of dev dependencies in `package.json`:

🔍

telnet

설명 보기 ▼

telnet 프로토콜을 사용해 호스트의 특정 포트에 연결합니다.
더 많은 정보: <https://manned.org/telnet>.

telnet {{host}}

호스트의 기본 포트에 Telnet 연결:

telnet {{ip_address}} {{port}}

호스트의 특정 포트에 Telnet 연결:

quit

Telnet 세션 종료:

// repository documentation