Skip to content

allmannyttan/sa-community

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sveriges Allmännyttas Utveckingsportal 🚀

This is the source code for the community site for Allmännyttan Utveckling.

Getting started

Sanity project

Install sanity cli and login to sanity

npm install -g @sanity/cli
sanity login

Install the dependencies and start the project

nvm use
npm install
npm run start

The Sanity CMS is now running on http://localhost:3333

Gatsby project

First you have to set the SANITY_READ_DATA_TOKEN inside a .env.development file.

SANITY_READ_DATA_TOKEN=<YOUR TOKEN>

Insall dependencies and start the project

nvm use
npm ci
npm run start

The web UI is now running at http://localhost:8000

You can find the graphql schema at http://localhost:8000/_graphql