playtime

(★ 102)

Supporting children and families experiencing homelessness in Washington, DC. Live app - https://wishlist.playtimeproject.org Organization Website:

파일 탐색기

  • .env.sample
  • .env.test
  • .gitignore
  • .pryrc
  • .rspec
  • .rubocop.yml
  • .ruby-version
  • .travis.yml
  • app.json
  • Capfile
  • config.ru
  • Gemfile
  • Gemfile.lock
  • LICENSE
  • package.json
  • Procfile
  • Rakefile
  • README.md

# CDN으로 사용하기

jsDelivr

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

명령어 용어집

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

🔍

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:

🔍

rails console

설명 보기 ▼

Interact with a Rails application.

rails console

Start the Rails console:

rails console {{[-s|--sandbox]}}

Start the Rails console and roll back all data modifications on exit:

rails console {{[-e|--environment]}} {{dev|test|production|...}}

Start the Rails console on a specified environment:

🔍

rails server

설명 보기 ▼

Serve the Rails app in the current directory using the Puma web server, which comes bundled with Rails.

rails server

Run the web server:

rails server {{[-p|--port]}} {{port_number}}

Run the web server on a specified port:

rails server {{[-b|--binding]}} {{ip_address}}

Run the web server on a specified IP address:

🔍

rake

설명 보기 ▼

Ruby용 Make와 유사한 프로그램.
`rake`의 작업은 Rakefile에 지정됩니다.
더 많은 정보: <https://ruby.github.io/rake/>.

rake

`default` Rakefile 작업 실행:

rake {{task}}

특정 작업 실행:

rake --jobs {{n}}

동시에 `n`개의 작업 병렬 실행 (기본값은 CPU 코어 수 + 4):

🔍

rspec

설명 보기 ▼

Ruby 코드를 테스트하기 위한 Ruby로 작성된 행동 주도 개발 테스트 프레임워크.
더 많은 정보: <https://rspec.info/features/3-13/rspec-core/command-line/>.

rspec --init

`.rspec` 구성 파일과 spec 헬퍼 파일 초기화:

rspec

모든 테스트 실행:

rspec {{path/to/directory}}

특정 디렉터리의 테스트 실행:

# 프로젝트 배지

// repository documentation