Closed Burnett2k closed 2 years ago
We can export our current dataset which exports the schema as well as the data in it and than have that tar file in the repo.
sanity dataset export production production.tar.gz
The users can run sanity dataset import production production.tar.gz
on their sanity account and can start with our dataset and schema
https://www.sanity.io/docs/export This also outlines a option which uses JSON files
Jeremy thoughtfully provided the following notes which should be reviewed and addressed:
next-js-sanity-fe Notes
Did my best to update the readme and add instructions for seeding the project with data, so I will be closing this out. Will be up to the rest of the team to take this to the finish line 🏁 . We're almost there though!
Did my best to update the readme and add instructions for seeding the project with data, so I will be closing this out. Will be up to the rest of the team to take this to the finish line 🏁 . We're almost there though!
Currently, if someone from the public cloned our repo and attempted to run it locally using the instructions, the application wouldn't work for the following reasons:
sanity init
steps, there would be no data in the studio and therefore the website would be mostly empty.My recommendation to fix these issues would be as follows: