Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -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
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down