Skip to content

whisperlab/notifications-rails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notifications Rails

Push Notification Service

####Steps

First install needed gems(bundle) and prepare databases.

Then
$ cd /path/to/notifications-rails
Create .env config file
$ vim .env
Fill it (use your own settings instead) :
RACK_ENV=development
PORT=3000
AWS_REGION=us-west-2
S3_BUCKET_PNS=pnscredentials-development
AWS_ACCESS_KEY_ID=YOURDEVAWSACCESSKEYID
AWS_SECRET_ACCESS_KEY=YOURDEVAWSSECRETACCESSKEY
ADMIN_NAME=First User
ADMIN_EMAIL=admin@example.com
ADMIN_PASSWORD=STRONGADMINPASSWORD
ADMIN_SEX=male
GMAIL_DOMAIN=example.com
GMAIL_USERNAME=yourname@example.com
GMAIL_PASSWORD=YOURGMAILPASSWORD
DOMAIN_NAME=example.herokuapp.com
API_MASTER_KEY=YOURLONGAPIMASTERKEY

Get your developement pnscredentials certifitate file from Apple. (for sending push notifications using Apple PNS)

And then place it in Amazon AWS S3 with S3_BUCKET_PNS name.

Prepare db
$ foreman run rake db:migrate
Start server
$ foreman start
Browser adderss:
localhost:3000

About

Push Notification Service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors