Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

README.md 1.1 KB

You have to be logged in to leave a comment. Sign In

dsc-project

DataScience Project with Dagshub for MLOps

Quick Quide for Dagshub & DVC & git

You can set up using two methods. Locally or by first creating a repo on Dagshub and cloning it

Locally Directory Setup

mkdir dsc-project
cd dsc-project

Initialize with Git and DVC

git init
dvc init

Cloning A Repository Setup

git clone https://dagshub.com/jcharistech/dsc-project.git
cd dsc-project

Clone the DVC option with .dvc and .git already initialized

dvc get https://dagshub.com/jcharistech/dsc-project.dvc

Add the Data to Track

dvc add data/mydataset.csv
git add data/.gitignore data/mydataset.csv.dvc

Commit to Effect

git commit -m "Added Raw Data"
git push

Configure Storage Location

dvc remote add origin https://dagshub.com/<DagsHub-user-name>/dsc-project.dvc
dvc remote modify origin --local auth basic
dvc remote modify origin --local user <DagsHub-user-name>
dvc remote modify origin --local ask_password true

Push Data

dvc push -r origin

Check Status

dvc status
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...