export-elements
Wrapper around govuk elements for use in Directory apps in Department for International Trade.
Installation
pip install export-elements
Development
$ git clone https://github.com/uktrade/export-elements
$ cd export-elements
$ npm install
$
Test
$ make test # python tests
$ gulp test # javascript tests
Demo
Run the following command then visit http://localhost:3000
$ gulp develop
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:
Setting |
---|
DIRECTORY_PYPI_USERNAME |
DIRECTORY_PYPI_PASSWORD |
Then run the following command:
make publish