Skip to main content

Configuration for tapps (redis, logger, etc.)

Project description

tapp-config |Build Status| |Coverage Status|
============================================

Configuration for tapps (redis, logger, etc.)

Usage
~~~~~

Reads in a .ini configuration file based on environment variables.

| Each TAPP can specify it's own configuration file by setting the
| environmental variable that corresponds to it's name. The variable
| format is:

``<TAPP_NAME>_CONFIG_FILE``

| So, for example, if your TAPP is named 'test', then this package
| would expect it's config file to be specified in the
``TEST_CONFIG_FILE``
| environmental variable.

| If no environmental variable is found, then the local ``cfg.ini`` path
| is tried.

Contents
~~~~~~~~

| While TAPPs can define their own configuration parameters, this
| package comes with some universal configuration settings for the
| database and logging.

::

[db]
SA_ENGINE_URI: sqlite:////tmp/test.db

[log]
LOGFILE: /tmp/test.log
LOGLEVEL: DEBUG

.. |Build Status| image:: https://travis-ci.org/GitGuild/tapp-config.svg?branch=master
:target: https://travis-ci.org/GitGuild/tapp-config
.. |Coverage Status| image:: https://coveralls.io/repos/GitGuild/tapp-config/badge.svg?branch=master&service=github
:target: https://coveralls.io/github/GitGuild/tapp-config?branch=masterVisit https://github.com/gitguild/tapp-config to see the full README, the
issue tracker, and others.


.. |Build Status| image:: https://travis-ci.org/GitGuild/tapp-config.svg?branch=master
:target: https://travis-ci.org/GitGuild/tapp-config
.. |Coverage Status| image:: https://coveralls.io/repos/GitGuild/tapp-config/badge.svg?branch=master&service=github
:target: https://coveralls.io/github/GitGuild/tapp-config?branch=master

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tapp-config-0.0.2.tar.gz (3.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page