Configuration files for the tew (test environment: web) containerized test environment.
This directory depends on pyenv for local testing of configuration files and pipenv for Python package management.
Follow the instructions found on the pyenv project's website, https://github.com/pyenv/pyenv#installation or try the curl based, one script install described here
Setup the python environment by running:
make pyenv
python
and pipenv
commands will be installed.
Pipfile and Pipfile.lock are artifacts of pipenv. They hold details about the versions and SHA256 hashes of packages. Use the following command to install packages into your local pyenv based Python environment:
pipenv sync --dev --pre
New packages can be added to the Pipfiles with a command like this:
pipenv install packagename
Where packagename
is the name of the package you want to install
To update all of the Python packages in the Pipfile.lock to their latest versions and install those latest version in the virtualenv, use:
pipenv update --dev --pre
In the example above, we specify --dev
to update the main packages and development packages. We also specify --pre
to allow for pre-released software to be installed. This is particularly needed for the black code formatting package.
Use the Makefile at the top of the repository to build a new Docker image:
make build