Skip to content

Commit

Permalink
Added Army of Awesome chapter.
Browse files Browse the repository at this point in the history
  • Loading branch information
rlr committed Jun 8, 2012
1 parent 86188bf commit e90fe2c
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
42 changes: 42 additions & 0 deletions docs/armyofawesome.rst
@@ -0,0 +1,42 @@
.. _armyofawesome-chapter:

===============
Army of Awesome
===============


Setting up the Army of Awesome Twitter Application
==================================================


Create the Twitter application
------------------------------

Go to https://dev.twitter.com/apps/new and fill in the required fields.
Also be sure to fill in a Callback URL, it can be any dummy URL as we
override this value by passing in an oauth_callback URL. Set up the
application for read-write access.

You will need to enter the consumer key and consumer secret in
settings_local.py below.


Update settings_local.py
------------------------

Set the following settings in settings_local.py::

TWITTER_CONSUMER_KEY = <consumer key>
TWITTER_CONSUMER_SECRET = <consumer secret>
TWITTER_COOKIE_SECURE = False


Fetch tweets
============

To fetch tweets, run::

$ ./manage.py cron collect_tweets


You should now see tweets at /army-of-awesome.
1 change: 1 addition & 0 deletions docs/index.rst
Expand Up @@ -33,6 +33,7 @@ Contents helpful for developers:
localization
licenses
searchchapter
armyofawesome
tests
vendor
wikidocs
Expand Down

0 comments on commit e90fe2c

Please sign in to comment.