Permalink
Browse files

1st commit

  • Loading branch information...
0 parents commit 8351016c2ccd4377f4dd4da3bfce7ce9525c4cf0 @zemanel committed Jun 9, 2011
Showing 666 changed files with 50,901 additions and 0 deletions.
@@ -0,0 +1,5 @@
+/local_settings.py
+/.project
+/.pydevproject
+/.settings
+*.pyc
@@ -0,0 +1,62 @@
+Tipfy Installation
+==================
+Tipfy is a small but powerful framework made specifically for Google App
+Engine. Here are some quick instructions to get started with it. More details
+are available in tipfy's wiki:
+
+ http://www.tipfy.org/wiki/guide/installation/
+
+Our goal gere is to provide a smooth installation process so that you can see
+a tipfy application up and running in a few minutes. If you have any problems,
+please post a message to the discussion group:
+
+ http://groups.google.com/group/tipfy
+
+
+All-in-one installation
+-----------------------
+If you downloaded the all-in-one pack, all you need to do is to start the
+development server pointing to the /app dir inside the uncompressed archive:
+
+- Run the dev_appserver tool from the App Engine SDK (or the App Engine
+ Launcher) pointing to the /app directory inside the uncompressed archive:
+
+ dev_appserver.py /path/to/project/app
+
+- Open a browser and test the URLs:
+
+ http://localhost:8080/
+ http://localhost:8080/pretty
+
+You should see a Hello, World! message. If you do, that's all. Now you have
+a project environment to start developing your app.
+
+
+Do-it-yourself installation
+---------------------------
+If you downloaded the do-it-yourself pack, you need to first install the
+needed libraries before running de development server. Here's how:
+
+- Access the project directory and call the bootstrap script using your
+ Python 2.5 interpreter. We pass the command --distribute because it
+ is preferable to the default setuptools. This will prepare buildout to run:
+
+ python bootstrap.py --distribute
+
+- Build the project calling bin/buildout. This will download and setup
+ tipfy and all libraries inside the /app directory. It may take a while.
+
+ bin/buildout
+
+- Start the development server calling bin/dev_appserver. It will use the
+ application from /app by default:
+
+ bin/dev_appserver
+
+- Open a browser and test the URLs:
+
+ http://localhost:8080/
+ http://localhost:8080/pretty
+
+You should see a Hello, World! message. If you do, that's all. Now you have
+a project environment to start developing your app.
@@ -0,0 +1,4 @@
+HN Mood
+==================
+
+http://hnmood.appspot.com/
@@ -0,0 +1,44 @@
+application: hnmood
+version: 1
+runtime: python
+api_version: 1
+
+builtins:
+- appstats: on
+- datastore_admin: on
+- remote_api: on
+
+inbound_services:
+- warmup
+
+error_handlers:
+- file: templates/error_handlers/default_error.html
+
+- error_code: over_quota
+ file: templates/error_handlers/over_quota.html
+
+- error_code: dos_api_denial
+ file: templates/error_handlers/dos_api_denial.html
+
+- error_code: timeout
+ file: templates/error_handlers/timeout.html
+
+handlers:
+- url: /favicon\.ico
+ static_files: static/favicon.ico
+ upload: static/favicon.ico
+ mime_type: image/vnd.microsoft.icon
+
+- url: /robots\.txt
+ static_files: static/robots.txt
+ upload: static/robots.txt
+
+- url: /static
+ static_dir: static
+
+- url: /_ah/queue/deferred
+ script: main.py
+ login: admin
+
+- url: /.*
+ script: main.py
@@ -0,0 +1,16 @@
+# -*- coding: utf-8 -*-
+"""App configuration."""
+
+# fill in local_settings.py
+ALCHEMY_API_KEY = None
+
+try:
+ from local_settings import *
+except ValueError:
+ pass
+
+config = {}
+
+config['alchemyapi'] = {
+ 'API_KEY': ALCHEMY_API_KEY,
+}
@@ -0,0 +1 @@
+cron:
@@ -0,0 +1,11 @@
+indexes:
+
+# AUTOGENERATED
+
+# This index.yaml is automatically updated whenever the dev_appserver
+# detects that a new type of query is run. If you want to manage the
+# index.yaml file manually, remove the above marker line (the line
+# saying "# AUTOGENERATED"). If you want to manage some indexes
+# manually, move them above the marker line. The index.yaml file is
+# automatically uploaded to the admin console when you next deploy
+# your application using appcfg.py.
@@ -0,0 +1,10 @@
+lib
+===
+
+Use this directory to place your libraries.
+
+This directory is searched first when looking for a package, and
+"lib/dist" is searched in sequence.
+
+This directory is not editted by a build tool. It is a safe place for custom
+libraries or to override packages from the "lib/dist" directory.
@@ -0,0 +1,7 @@
+Warning!
+========
+
+This directory is removed every time the buildout tool runs, so don't place
+or edit things here because any changes will be lost!
+
+Use a different directory for extra libraries instead of this one.
@@ -0,0 +1,39 @@
+# -*- coding: utf-8 -*-
+#
+# Copyright (C) 2007-2008 Edgewall Software
+# All rights reserved.
+#
+# This software is licensed as described in the file COPYING, which
+# you should have received as part of this distribution. The terms
+# are also available at http://babel.edgewall.org/wiki/License.
+#
+# This software consists of voluntary contributions made by many
+# individuals. For the exact contribution history, see the revision
+# history and logs, available at http://babel.edgewall.org/log/.
+
+"""Integrated collection of utilities that assist in internationalizing and
+localizing applications.
+
+This package is basically composed of two major parts:
+
+ * tools to build and work with ``gettext`` message catalogs
+ * a Python interface to the CLDR (Common Locale Data Repository), providing
+ access to various locale display names, localized number and date
+ formatting, etc.
+
+:see: http://www.gnu.org/software/gettext/
+:see: http://docs.python.org/lib/module-gettext.html
+:see: http://www.unicode.org/cldr/
+"""
+
+from babel.core import *
+
+__docformat__ = 'restructuredtext en'
+try:
+ from pkg_resources import get_distribution, ResolutionError
+ try:
+ __version__ = get_distribution('Babel').version
+ except ResolutionError:
+ __version__ = None # unknown
+except ImportError:
+ __version__ = None # unknown
Oops, something went wrong.

0 comments on commit 8351016

Please sign in to comment.