Skip to content

A website all about Christmas cheer, technology, design and strategy.

License

Notifications You must be signed in to change notification settings

bekk/bekk-christmas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bekk Christmas

Welcome to the Bekk Christmas codebase. 🎅

Please visit us at bekk.christmas!

If you want to add content, please get in touch with @selbekk.

Structure

This repository has two main parts - the studio and the web folder.

The Studio

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 Web

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.

Development

The Studio

$ cd studio # Go to the studio folder
$ npm install # Install dependencies
$ npm run dev # Start a dev server at localhost:3333

The Web

$ cd web # Go to the studio folder
$ npm install # Install dependencies
$ npm run dev # Start a dev server at localhost:3000

Deployment

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.