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
============================================
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
Release history Release notifications | RSS feed
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.3.tar.gz
(3.6 kB
view details)
File details
Details for the file tapp-config-0.0.3.tar.gz
.
File metadata
- Download URL: tapp-config-0.0.3.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9be52bed7db55e2a7b95f838912b7d2b8a49062cb7867e02ff06b3c24539b8ac |
|
MD5 | e929dbc628a7521a9badef54dd1d8b2d |
|
BLAKE2b-256 | b5f33879fd4983c78df5916401178953b48f32e1cac9fbf554ed700b391c02ae |