Shared components library for Export Directory.
[![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.
`shell pip install directory-components `
$ git clone https://github.com/uktrade/directory-components $ cd directory-components
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:
[code-climate-image]: https://codeclimate.com/github/uktrade/directory-components/badges/issue_count.svg [code-climate]: https://codeclimate.com/github/uktrade/directory-components
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|directory_components-2.2.0-py3-none-any.whl (169.7 kB) Copy SHA256 hash SHA256||Wheel||py3||Jun 1, 2018|