LinuxForHealth Connectors for Inbound Data Processing
Type | Link |
---|---|
🚨 Bug Reports | GitHub Issues Tracker |
🎁 Feature Requests & Ideas | GitHub Issues Tracker |
❔ Questions | LFH Slack Channel |
🚙 Roadmap | Project Board |
The LinuxForHealth documentation includes architectural overviews, development guidelines, and deployment options.
The LinuxForHealth Connect development environment requires the following:
- git for project version control
- mkcert for local trusted certificates
- Python 3.8 or higher for runtime/coding support
- Pipenv for Python dependency management
- Docker Compose for a local container runtime
For Windows 10 users, we suggest using Windows Subsystem for Linux
git clone https://github.com/LinuxForHealth/connect
cd connect
pip --version
pipenv --version
pip install --upgrade pip
pipenv sync --dev
pipenv run pre-commit install
Process registered with pre-commit hooks include:
- black code formatter
pipenv run pytest
LinuxForHealth connect utilizes the black library to provide standard code formatting. The connect project registers black with a git pre-commit hook to ensure that code is formatted when it is committed to a developer's local repository. The pyproject.toml and .pre-commit-config.yaml are used to configure the integration.
black................................................(no files to check)Skipped
[black-formatter 95bb1c6] settings black version to latest release
1 file changed, 1 insertion(+), 1 deletion(-)
black....................................................................Passed
[format-test c3e1b4a] test commit
1 file changed, 1 insertion(+)
black....................................................................Failed
- hook id: black
- files were modified by this hook
reformatted connect/routes/api.py
All done! ✨ 🍰 ✨
1 file reformatted.
./local-certs/install-certificates.sh
For more information on connect and HTTPS/TLS support, please refer to the local cert readme.
docker-compose up -d
docker-compose ps
pipenv run connect
Browse to https://localhost:5000/docs
to view the Open API documentation
The connect docker image is an "incubating" feature and is subject to change. The image is associated with the "deployment" profile to provide separation from core services.
The connect image build integrates the application's x509 certificate (PEM encoded) into the image.
The APPLICATION_CERT_PATH
build argument is used to specify the location of the certificate on the host machine.
If the APPLICATION_CERT_PATH
build argument is not provided, a default value of ./local-certs/lfh.pem is used.
docker build --build-arg APPLICATION_BUILD_CERT_PATH=./local-certs/ -t linuxforhealth/connect:0.42.0 .
The docker-compose command below parses the build context, arguments, and image tag from the docker-compose.yaml file.
docker-compose build connect
docker-compose --profile deployment up -d
Type | Link |
---|---|
📰 Documentation | LinuxForHealth Docs Site |
📰 Documentation | IPFS |