Shared components library for Export Directory.
Project description
# directory-components
[![code-climate-image]][code-climate] [![circle-ci-image]][circle-ci] [![codecov-image]][codecov] [![gemnasium-image]][gemnasium]
Reusable components used across the directory applications for the Department for International Trade.
—
## Installation
`shell pip install directory-components `
## Development
$ git clone https://github.com/uktrade/directory-components $ cd directory-components
## Demo
To view the components in the browser run the following command:
$ make run_demo
and go to 0.0.0.0:9000 in your browser
## Publish to PyPI
The package should be published to PyPI on merge to master. If you need to do it locally then get the credentials from rattic and add the environment variables to your host machine:
Then run the following command:
make publish
[code-climate-image]: https://codeclimate.com/github/uktrade/directory-components/badges/issue_count.svg [code-climate]: https://codeclimate.com/github/uktrade/directory-components
[circle-ci-image]: https://circleci.com/gh/uktrade/directory-components/tree/master.svg?style=svg [circle-ci]: https://circleci.com/gh/uktrade/directory-components/tree/master
[codecov-image]: https://codecov.io/gh/uktrade/directory-components/branch/master/graph/badge.svg [codecov]: https://codecov.io/gh/uktrade/directory-components
[gemnasium-image]: https://gemnasium.com/badges/github.com/uktrade/directory-components.svg [gemnasium]: https://gemnasium.com/github.com/uktrade/directory-components
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 Distributions
Built Distribution
Hashes for directory_components-1.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39955efccfe0de49baa4b31f0e361f44f18dd3fbd9b05206da09ca40c905897c |
|
MD5 | 5b7e48677ebaf7312beb21e381128c2c |
|
BLAKE2b-256 | 3d9ffc999895bd16ddb1b9858713a508a8e3d4afc97f8c3b3c415e96ff7cc7da |