Import Sanity Sample Data
This page will help you import Owen Theme Sanity sample data.
Last updated
This page will help you import Owen Theme Sanity sample data.
Last updated
*Note: Before continue, please make sure that you have installed Sanity CLI in your system.
If you want to import Owen Theme Sanity sample data, please follow the steps bellow:
Step 1: Copy production.zip file from sanity-sample-data folder in Owen Hydrogen theme pack, then paste it to the root folder of your Sanity Studio.
Step 2: Extract production.zip file then copy/paste 3 folder/files to the root folder of your Sanity Studio:
Step 3: Open terminal from root folder of your Sanity Studio then run the command line below (please make sure that you have deployed your Sanity Studio before):
sanity dataset import ./data.ndjson production --replace --allow-failing-assets
Learn more: https://www.sanity.io/docs/importing-data
If you want to export sanity data (for backup), you can do by running the command line below from root folder of your Sanity studio:
sanity dataset export production production.zip