Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation #7

Closed
snijsure opened this issue May 17, 2013 · 3 comments
Closed

Documentation #7

snijsure opened this issue May 17, 2013 · 3 comments

Comments

@snijsure
Copy link

There are few documentation issues/hurdle to get things working:

  1. So once one installs django-gcm one has to run following commands right?

python manage.py syncdb
python manage.py migrate

  1. In settings.py one should be entering key generated for server app, browser app or Android app for GCM_KEYS?
  2. I compiled the associated android pager program and installed it on my system.
    I got what one needs to set GCM_SENDER project number from google app server.

But not clear what should value of API_URL should be?

static public String API_URL = "<url_to_your_application>/gcm/v1/device/";

If someone can show me how to get this working, I will be more than happy to update documentation.

-Subodh

@bogdal
Copy link
Owner

bogdal commented May 18, 2013

Hi @snijsure
Django-gcm hasn't migrations, so command python manage.py syncdb is enought.
On the Google APIs Console page you have to generate key for server apps.
Variable API_URL in Pager application, should contain direct url to your django application e.g: https://yourdjangoapplication.com/gcm/v1/device/

cheers

@snijsure
Copy link
Author

Thanks a lot that helps a lot and works perfectly. Should I update the README file and send you a pull request? If you wish to update to README file with above description that would be fine too.

Please let me know.

Regards.

@bogdal
Copy link
Owner

bogdal commented May 22, 2013

@snijsure I added docs for this project (develop branch). If you want to update it, feel free to send a pull request. Documentation is available on readthedocs.

@bogdal bogdal closed this as completed May 22, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants