infoMore than 1 year has passed since last update.
Rocket Push 開発環境
Last updated at Posted at 2023-03-30
本体
- 開発環境では、localhost:3000で立ち上げることを想定
- オプトイン取得やプッシュ配信は全てキューに入ってくるので、実行したい場合はコンソールから
bundle exec sidekiq -C config/sidekiq.yml
を実行
rocket-push-cdn
- 開発環境でmain.jsやサービスワーカの動きを確認するためのデモサイト
- localhost:4000で立ち上げることを想定
- application.html.erbで読み込むスクリプトを指定している
main.js
- public/main.jsを読み込み
- 本番環境か開発環境かは、isProductionの値を変更することで定義
serviceworker
sitepush.js
cv.js
manifest.json
- public/manifest.jsonを読み込み
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
What you can do with signing up