Skip to content

Commit

Permalink
initial import
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinAzoff committed Mar 25, 2009
0 parents commit 3ad2d3e
Show file tree
Hide file tree
Showing 38 changed files with 1,076 additions and 0 deletions.
3 changes: 3 additions & 0 deletions MANIFEST.in
@@ -0,0 +1,3 @@
include networkpinger/config/deployment.ini_tmpl
recursive-include networkpinger/public *
recursive-include networkpinger/templates *
19 changes: 19 additions & 0 deletions README.txt
@@ -0,0 +1,19 @@
This file is for you to describe the network-pinger application. Typically
you would include information such as the information below:

Installation and Setup
======================

Install ``network-pinger`` using easy_install::

easy_install network-pinger

Make a config file as follows::

paster make-config network-pinger config.ini

Tweak the config file as appropriate and then setup the application::

paster setup-app config.ini

Then you are ready to go.
83 changes: 83 additions & 0 deletions development.ini
@@ -0,0 +1,83 @@
#
# network-pinger - Pylons development environment configuration
#
# The %(here)s variable will be replaced with the parent directory of this file
#
[DEFAULT]
debug = true
# Uncomment and replace with the address which should receive any error reports
#email_to = you@yourdomain.com
smtp_server = localhost
error_email_from = paste@localhost

[server:main]
use = egg:Paste#http
host = 127.0.0.1
port = 5000

[app:main]
use = egg:network-pinger
full_stack = true
static_files = true

cache_dir = %(here)s/data
beaker.session.key = networkpinger
beaker.session.secret = somesecret

# If you'd like to fine-tune the individual locations of the cache data dirs
# for the Cache data, or the Session saves, un-comment the desired settings
# here:
#beaker.cache.data_dir = %(here)s/data/cache
#beaker.session.data_dir = %(here)s/data/sessions

# SQLAlchemy database URL
sqlalchemy.url = sqlite:///%(here)s/development.db

# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
# Debug mode will enable the interactive debugging tool, allowing ANYONE to
# execute malicious code after an exception is raised.
#set debug = false


# Logging configuration
[loggers]
keys = root, routes, networkpinger, sqlalchemy

[handlers]
keys = console

[formatters]
keys = generic

[logger_root]
level = INFO
handlers = console

[logger_routes]
level = INFO
handlers =
qualname = routes.middleware
# "level = DEBUG" logs the route matched and routing variables.

[logger_networkpinger]
level = DEBUG
handlers =
qualname = networkpinger

[logger_sqlalchemy]
level = INFO
handlers =
qualname = sqlalchemy.engine
# "level = INFO" logs SQL queries.
# "level = DEBUG" logs SQL queries and results.
# "level = WARN" logs neither. (Recommended for production systems.)

[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = NOTSET
formatter = generic

[formatter_generic]
format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
datefmt = %H:%M:%S
19 changes: 19 additions & 0 deletions docs/index.txt
@@ -0,0 +1,19 @@
networkpinger
+++++++++++++

This is the main index page of your documentation. It should be written in
`reStructuredText format <http://docutils.sourceforge.net/rst.html>`_.

You can generate your documentation in HTML format by running this command::

setup.py pudge

For this to work you will need to download and install `buildutils`_,
`pudge`_, and `pygments`_. The ``pudge`` command is disabled by
default; to ativate it in your project, run::

setup.py addcommand -p buildutils.pudge_command

.. _buildutils: http://pypi.python.org/pypi/buildutils
.. _pudge: http://pudge.lesscode.org/
.. _pygments: http://pygments.org/

0 comments on commit 3ad2d3e

Please sign in to comment.