Skip to content

kobra-dev/kobra.dev

Folders and files

NameName
Last commit message
Last commit date
Jul 23, 2021
Jun 24, 2021
Apr 30, 2021
Feb 27, 2021
Apr 18, 2021
Feb 15, 2021
Apr 30, 2021
Apr 30, 2021
Apr 30, 2021
Feb 15, 2021
Apr 30, 2021
Feb 14, 2021
Oct 21, 2021
May 12, 2021
Mar 29, 2022
Feb 17, 2022
May 13, 2021
Feb 14, 2021
Mar 29, 2022

Repository files navigation

Kobra.dev

The code that powers kobra's website

Getting Started

Create the following env files:

  • .env.local:
    NEXT_PUBLIC_CONTENTFUL_SPACE_ID=[Insert space ID (not the name) here]
    NEXT_PUBLIC_CONTENTFUL_ACCESS_TOKEN=[Insert access token here]
    
  • .env.contentful-codegen:
    CONTENTFUL_CONTENT_TOKEN=[Insert previous access token here]
    CONTENTFUL_MANAGEMENT_TOKEN=[Insert management token (not the same as the access token) here]
    CONTENTFUL_SPACE_ID=[Insert space ID from previous file here]
    

Next, install all of the packages in the main package:

yarn

Next, update the generated types by running:

yarn gql-codegen

Finally, run the development server:

npm run dev
# or
yarn dev

Contributing

We appriciate your help!, Before Contributing read guidelines first