This Git repository includes all of the source code used in the GeoTweets screencast.
The tutorial includes several checkpoints:
- skeleton - From scratch: creating a skeleton for the app
- gui - Building the Graphical User Interface (GUI)
- static - Creating a template for the Twitter timeline
- dynamic - Fetching data from the Twitter API
- map - Adding a map with markers for geotagged tweets
First, you'll have to clone this repository:
git clone git://github.com/senchalearn/GeoTweets.git
Change into the directory:
cd GeoTweets
By default, the git clone
command will only create the master branch locally. If you want to study the code at each checkpoint, you will have to fetch each of the other branches. You can do so by running the following:
git checkout -b 00_skeleton origin/00_skeleton
git checkout -b 01_gui origin/01_gui
git checkout -b 02_static origin/02_static
git checkout -b 03_dynamic origin/03_dynamic
git checkout -b 04_map origin/04_map
You can review the list of local branches by running:
git branches
And you can switch between branches with the checkout
command. For example, to check out the 04_map
branch, run:
git co 04_map
You can try out the demo here: