summaryrefslogtreecommitdiff
path: root/examples/freebase-images-appengine/README
diff options
context:
space:
mode:
authornitromaster101 <nitromaster101@5914aa95-5b3a-0410-a3b5-7b719e7fe9b2>2009-06-18 23:37:50 +0000
committernitromaster101 <nitromaster101@5914aa95-5b3a-0410-a3b5-7b719e7fe9b2>2009-06-18 23:37:50 +0000
commit9e79ac25dbf5a38cb64d2bda878c222b0516c035 (patch)
treed77b2f88f19f9271039b94799067469e2b9f03c2 /examples/freebase-images-appengine/README
parentf05ce08c153f8657324c9072b35d4e1df12dfc37 (diff)
add appengine example -- freebase-images.appspot.com
git-svn-id: http://freebase-python.googlecode.com/svn/trunk@104 5914aa95-5b3a-0410-a3b5-7b719e7fe9b2
Diffstat (limited to 'examples/freebase-images-appengine/README')
-rw-r--r--examples/freebase-images-appengine/README25
1 files changed, 25 insertions, 0 deletions
diff --git a/examples/freebase-images-appengine/README b/examples/freebase-images-appengine/README
new file mode 100644
index 0000000..18c53e0
--- /dev/null
+++ b/examples/freebase-images-appengine/README
@@ -0,0 +1,25 @@
+This is an example of a working google appengine setup. If you want to see it
+in action, go to http://freebase-images.appspot.com/
+
+If you are interested in incorporating the freebase-python library in your
+google appengine, you should download the actual code that runs the library.
+If you say:
+ svn checkout http://freebase-python.googlecode.com/svn/trunk/freebase freebase
+in the appengine folder, you'll be able to import freebase in your appengine
+code without any problems.
+
+In order to fully understand the example, an understanding of how appengine
+works and what it does is neccessary.
+
+In this example, hello.py is the main program that controls four pages:
+mainpage, name, recents, and info. Name takes an id and returns the name,
+recents gives back the most recent images viewed (this only works if you're
+using a google account), and info takes an id and returns a list of images.
+Mainpage operates most of what you see. index.html the django template that
+is rendered.
+
+The freebase queries are not all the complicated. We have a few that simply
+return the name of an object given the id. The most complicated one, the one
+that generates the images involves querying all the objects that are connected
+to the supplied object and getting their images.
+