stocks-in-the-future

(★ 47)

No description available.

파일 탐색기

  • .better-html.yml
  • .dockerignore
  • .erb_lint.yml
  • .gitattributes
  • .gitignore
  • .rubocop.yml
  • .rubocop_rails_default.yml
  • .ruby-version
  • .standard.yml
  • Capfile
  • code-of-conduct.md
  • config.ru
  • CONTRIBUTING.md
  • docker-compose.yml
  • Dockerfile
  • Dockerfile.dev
  • Gemfile
  • Gemfile.lock
  • LICENSE.md
  • package.json
  • Procfile
  • Procfile.dev
  • pull_request_template.md
  • Rakefile
  • README.md
  • SECURITY.md
  • yarn.lock

# CDN으로 사용하기

jsDelivr

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

명령어 용어집

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

🔍

aws ssm

설명 보기 ▼

Securely interact with and manage AWS resources.
Note: Interactive sessions require the Session Manager plugin to be installed.

aws ssm send-command --instance-ids {{instance_id1 instance_id2 ...}} --document-name "AWS-RunShellScript" --parameters 'commands=["{{command}}"]'

Run commands on instances:

aws ssm list-command-invocations --instance-id "{{instance_id}}"

Check command invocations on an instance:

aws ssm list-command-invocations --command-id "{{command_id}}" --details

Check command output for a specific command invocation:

🔍

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:

🔍

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`:

🔍

rails

설명 보기 ▼

서버 측 MVC 프레임워크로, Ruby로 작성되었습니다.
`generate`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다.
더 많은 정보: <https://guides.rubyonrails.org/command_line.html>.

rails new "{{project_name}}"

새 Rails 프로젝트 생성:

rails generate scaffold Post title:string body:text

현재 프로젝트의 로컬 서버를 포트 3000에서 시작:

rails db:migrate

현재 프로젝트의 로컬 서버를 지정된 포트에서 시작:

🔍

systemctl restart

설명 보기 ▼

Stop and then start one or more systemd units.
Can be used in place of `systemctl start` on a stopped unit, but `start` is safer so that a running unit isn't accidentally restarted.

systemctl restart {{unit}}

Restart a unit:

systemctl restart {{unit1 unit2 ...}}

Restart more than one unit:

systemctl restart {{unit}} --user

Restart a user unit:

// repository documentation