Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated readme to reflect scripted googleauth command

  • Loading branch information...
commit a9c5eb0df0691283f4c540d723328847c7665ff5 1 parent 8d5e04b
@patrickbaumann authored
Showing with 9 additions and 5 deletions.
  1. +9 −5 README.rst
View
14 README.rst
@@ -38,23 +38,27 @@ Dependencies
git clone git@github.com:cheeseinvert/geocamMemoWeb.git
2. If you haven't already, you'll need to register your gmail or google apps address here: http://code.google.com/android/c2dm/signup.html
-3. Before running the Django application, rename geocamMemoWeb/geocamMemo/authentication_example.py to geocamMemoWeb/geocamMemo/authentication.py::
+3. CD into you ./geocamMemoWeb/example path and run the following (if there are no errors, continue to step 8)::
+
+ python manage.py googleauth
+
+4. Before running the Django application, rename geocamMemoWeb/geocamMemo/authentication_example.py to geocamMemoWeb/geocamMemo/authentication.py::
mv geocamMemoWeb/geocamMemo/authentication_example.py geocamMemoWeb/geocamMemo/authentication.py
-4. Modify the newly moved file and follow the directions. You'll need to run the following from the console in order to retrieve your authentication token (curl with ssl libraries required: http://curl.haxx.se/)::
+5. Modify the newly moved file and follow the directions. You'll need to run the following from the console in order to retrieve your authentication token (curl with ssl libraries required: http://curl.haxx.se/)::
curl https://www.google.com/accounts/ClientLogin -k --data-urlencode Email=youraccount@gmail.com --data-urlencode Passwd=some_password -d accountType=GOOGLE -d source=com.patrickbaumann.pushprototype -d service=ac2dm
-5. The response will contain an SID, AUTH, and LSID::
+6. The response will contain an SID, AUTH, and LSID::
SID=alsdjfa;ljsdf;lajsdlfj...
AUTH=alsdjkfa;lskjdfl;asjd...
LSID=asl;dfjalskdjflasjdfl...
-6. Paste the AUTH line after the '=' into authentication.py between the quotation marks.
+7. Paste the AUTH line after the '=' into authentication.py between the quotation marks.
-7. CD into your ./geocamMemoWeb/example path and run syncdb, creating an admin user if prompted::
+8. CD into your ./geocamMemoWeb/example path and run syncdb, creating an admin user if prompted::
python manage.py syncdb
Please sign in to comment.
Something went wrong with that request. Please try again.