homeward-tails

(★ 94)

Homeward Tails is an application making it easy to link adopters/fosters with pets. We work with grassroots pet rescue organizations to understand how we can make the most impact.

파일 탐색기

  • .all-contributorsrc
  • .annotaterb.yml
  • .gitattributes
  • .gitignore
  • .ruby-version
  • .tool-versions
  • CODE_OF_CONDUCT.md
  • config.ru
  • CONTRIBUTING.md
  • DEPLOYMENT.md
  • docker-compose.yml
  • Dockerfile
  • dockerfile.dev
  • entrypoint.sh
  • Gemfile
  • Gemfile.lock
  • LICENCE
  • Procfile
  • Procfile.dev
  • Rakefile
  • README.md

# CDN으로 사용하기

jsDelivr

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

명령어 용어집

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

🔍

brew install

설명 보기 ▼

Install a Homebrew formula or cask.

brew install {{formula|cask}}

Install a formula/cask:

brew install {{[-s|--build-from-source]}} {{formula}}

Build and install a formula from source (dependencies will still be installed from bottles):

brew install {{[-n|--dry-run]}} {{formula|cask}}

Download the manifest, print what would be installed but don't actually install anything:

🔍

brew services

설명 보기 ▼

Manage background services with `launchctl` on macOS or `systemctl` on Linux.

brew services

List all managed services for the current user:

brew services info --all

List more information about all managed services:

brew services start {{formula}}

Start a service immediately and register it to launch at login (or boot):

🔍

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

설명 보기 ▼

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:

🔍

nano

설명 보기 ▼

명령줄 텍스트 편집기. 향상된 `Pico` 클론.
관련 항목: `pico`, `rnano`.
더 많은 정보: <https://nano-editor.org/dist/latest/nano.html>.

nano {{path/to/file1 path/to/file2 ...}}

편집기 시작:

nano {{[-I|--ignorercfiles]}}

설정 파일을 사용하지 않고 편집기 시작:

nano +{{line}},{{column}} {{path/to/file}}

특정 파일 열기, 이전 파일을 닫으면 다음 파일로 이동:

🔍

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

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

// repository documentation