rpush

(★ 2,204)

The push notification service for Ruby.

  • .coveralls.yml
  • .gitignore
  • .rspec
  • .rubocop.yml
  • .rubocop_todo.yml
  • .ruby-version
  • Appraisals
  • CHANGELOG.md
  • Gemfile
  • Gemfile.lock
  • LICENSE
  • logo.png
  • Rakefile
  • README.md
  • rpush.gemspec

# 설치 가이드

1. 코드 내려받기
git clone https://github.com/rpush/rpush

깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.

cd rpush

방금 내려받은 프로젝트 폴더 안으로 이동합니다.

2. Ruby

쉬움 추천
사전 준비물
  • Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
  • Ruby bundle 명령어를 쓰려면 Ruby가 필요합니다.
$ bundle

이 명령어를 터미널에 그대로 입력해 실행하세요.

$ bundle exec rpush init

이 명령어를 터미널에 그대로 입력해 실행하세요.

app.bundle_id = "BUNDLE ID" # the unique bundle id of the app, like com.example.appname

이 명령어를 터미널에 그대로 입력해 실행하세요.

headers: { 'apns-topic': "BUNDLE ID" }, # the bundle id of the app, like com.example.appname. Not necessary if set on the app (see above)

이 명령어를 터미널에 그대로 입력해 실행하세요.

bundle install

Gemfile에 명시된 루비 라이브러리를 설치합니다.

bundle install이 에러 없이 끝나면 README에 안내된 실행 명령어(예: rails server)로 마저 실행해보세요.

이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.

// repository documentation