Skip to content

Manage Content

Stupid edited this page Mar 29, 2020 · 8 revisions

We use contentful to manage as our CMS.

Operators

  1. Get the invitation and register image

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

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

image

Developers

To manage

Same as operators above.

To develop

  1. Get the invitation and register image

  2. Find the delivery_access_token or preview_access_token in contentful image

image

  1. Configure it in your local .zshrc or environment.local.ts:
# .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
export NX

or

// **/environment.local.ts

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

Clone this wiki locally