Followed tutorial https://www.youtube.com/watch?v=I2dcpatq54o&ab_channel=SonnySangha
First go to sanity directory and start the server, to login into sanity type sanity login
.
cd sanityyoutube
sanity install
sanity start
Checkout /sanityyoutube/sanity.json and copy paste the "projectId" and "dataset" into .env.local an example is written in .env.local.example.
cd ..
npm install
npm run dev
Sanity deployed at https://sanity-medium721.sanity.studio/desk
Check webpage: https://medium-app-rho.vercel.app/