Welcome to the Bekk Christmas codebase. 🎅
Please visit us at bekk.christmas!
If you want to add content, please get in touch with @selbekk.
This repository has two main parts - the studio
and the web
folder.
Bekk Christmas is built around Sanity, and has its own custom studio. You can access it at jul.bekk.no (only available for Bekk employees).
The studio
folder contains all the schemas and custom setup for our Sanity studio. If you want to change (or add) a type of content, this is where you want to look.
The public part of Bekk Christmas is based on Next.js.
The web
folder contains all of that code, as well as any API endpoints.
$ cd studio # Go to the studio folder
$ npm install # Install dependencies
$ npm run dev # Start a dev server at localhost:3333
$ cd web # Go to the studio folder
$ npm install # Install dependencies
$ npm run dev # Start a dev server at localhost:3000
The website will be deployed automatically whenever you merge to the main
branch.
The studio needs to be deployed manually. In order to deploy the studio, you need some secrets and the correct accesses set in Sanity. Go ask @selbekk for all of that.