Create data
directory by copying sample-config
:
cp component_config/sample-config data
Then, in data/config.json
, replace <YOUR_APIFY_API_TOKEN>
with your Apify API token. Finally, run the component:
KBC_DATADIR=data python src/component.py
you need to set the following environment variables:
KBC_DEVELOPERPORTAL_APP
KBC_DEVELOPERPORTAL_USERNAME
KBC_DEVELOPERPORTAL_VENDOR
KBC_DEVELOPERPORTAL_PASSWORD
You'll find the values in repo's secrets and variables.
APP_IMAGE=keboola.component
GITHUB_TAG=0.0.4
docker build -t APP_IMAGE:latest .
# Deploy the container
sh deploy.sh
# Update compontent's configs and descriptions
sh scripts/deleloper_portal/update_properties.sh
Deploying from terminal should not be needed. To deploy a new version, we need to push a new tag to the default branch and GH actions should handle the deployment. TODO: verify GH actions deployment