How to add DVC to a service¶
This guide will help you add DVC to your service.
Guide¶
Install DVC¶
You can install DVC with pip
, but make sure to install with s3 optional dependencies.
Initialize DVC¶
https://dvc.org/doc/command-reference/init
Now that DVC is installed we have to init it, so go to your service folder and use this command.
The --subdir
is important because we are in a monorepo
Create a bucket on Minio¶
Go to your MinIO server, connect with the provided credentials and use the GUI to create your bucket.
Configure DVC for Minio¶
https://dvc.org/doc/command-reference/remote/add
To configure your credentials for DVC do not use the dvc remote modify
instead install AWS CLI.
Use aws configure to add your Access Key ID and your Secret Access Key.
Add your dataset¶
Modify the path for your dataset
Push to DVC
Related explanations¶
These explanations are related to the current item (in alphabetical order).
Resources¶
These resources are related to the current item (in alphabetical order).
None at the moment.