Manage Content - Stupidism/hype GitHub Wiki

We use contentful to manage as our CMS.

Register

Ask your manager/colleague for an invitation and you will get this:

image

Then we will discuss by different roles:

Operators

  1. Find the content_model you want to manage in the Content Type tab image

  2. Go to the Content tab and do what you want

image

Developers

To manage

Same as operators above.

To develop

  1. Find the delivery_access_token or preview_access_token in contentful image

image

  1. Configure it in your local .zshrc or environment.local.ts:

If you don't know what's environment.local.ts, click here

# .zshrc

# HYPE env variables start
export NX_CONTENTFUL_PROD_DELIVERY_ACCESS_TOKEN=<delivery_access_token>
export NX_CONTENTFUL_PROD_PREVIEW_ACCESS_TOKEN=<preview_access_token>
# HYPE env variables end

or

// **/environment.local.ts

  contentful: {
    host: 'cdn.contentful.com',
    accessToken: '<delivery_access_token>',
  },
// or
  contentful: {
    host: 'preview.contentful.com',
    accessToken: '<preview_access_token>',
  },