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:
Then we will discuss by different roles:
Operators
-
Find the
content_model
you want to manage in theContent Type
tab -
Go to the
Content
tab and do what you want
Developers
To manage
Same as operators above.
To develop
- Find the
delivery_access_token
orpreview_access_token
in contentful
- Configure it in your local
.zshrc
orenvironment.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>',
},