From 6d4c0a9378f0c04d0642c9be6b0561a97bd72d7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jenny=20M=C3=BCller?= Date: Tue, 19 Mar 2024 20:17:37 +0100 Subject: [PATCH] Update README.md --- .env.example | 2 +- README.md | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.env.example b/.env.example index 118e5ea..1474d4a 100644 --- a/.env.example +++ b/.env.example @@ -2,5 +2,5 @@ # Prod: for the prod environment, check sanity.io or vercel or ask someone with permission # Dev: for a development environment, you can setup your own sanity project on sanity.io NEXT_PUBLIC_SANITY_PROJECT_ID= -NEXT_PUBLIC_SANITY_DATASET= +NEXT_PUBLIC_SANITY_DATASET=dev NEXT_PUBLIC_SANITY_API_VERSION=2023-05-03 \ No newline at end of file diff --git a/README.md b/README.md index dc0bd55..cfc46ed 100644 --- a/README.md +++ b/README.md @@ -7,15 +7,17 @@ Use [Sanity](https://www.sanity.io/) to provide useful information to new studen ## Setup ```bash -# Sanity (./sanity) -$ yarn # install -$ yarn dev # Run sanity dev +# Config +$ cp .env.example .env # Make a copy of the config file +# Log on to sanity.io, find the `project id` for the .env file -# Server (./) +# Start server $ yarn # install -$ yarn dev # Run dev server +$ yarn dev # run ``` +Nice! The server is now available on `localhost:3000`. Sanity Studio is available at `localhost:3000/studio`. + This project uses prettier and eslint. ```bash