Configuration files
Usman Ismail edited this page Jan 2, 2014
·
5 revisions
Base Configuration ($GOPATH/src/github.com/usmanismail/gpns/config/base.conf)
[default]
#Port for the REST server to run on
port=8080
AWS Configuration ($GOPATH/src/github.com/usmanismail/gpns/config/aws.conf)
[default]
#AWS User ID and Secret
id=ASJDKLADKNDKLNDKLSN
secret=SDBSDBSDNMBSNBDNbsndbsnbdsnBDSMNBsnbdnsdnsdnbs
#The amazon region where your applications and dynamo table are located
region=us-east-1
#Dynamo Table to store registrations, must be created already and have a key field called "alias"
dynamo-table=gpns_device
#Name of Platform Applications, comma seperated list (e.g. Test1,Test2)
platform-applications=Test1,Test2
#Add one section for each Application configured above
[Test1]
#The Application ARN
arn=arn:aws:sns:us-east-1:238699486533:app/GCM/Test
type=GCM
[Test2]
arn=arn:aws:sns:us-east-1:238699486533:app/GCM/Test
type=GCM