Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.24 KB

README.md

File metadata and controls

37 lines (24 loc) · 1.24 KB

Origin Protocol Headless CMS

This uses Strapi to manage the admin interface and API used for originprotocol.com, ousd.com, and story.xyz. It is built with Strapi.

Install

yarn install
cp .env.example .env

develop

Start your Strapi application with autoReload enabled. Learn more

yarn develop

start

Start your Strapi application with autoReload disabled. Learn more

yarn start

build

Build your admin panel. Learn more

yarn build

Adding/editing collection types

Strapi uses filesystem JSON files to record its configurable data types. We're using Heroku to provision our Strapi, with plans tomove to AWS, which means any changes to data types on the production version of Strapi aren't persistent. So, to make collection type changes, we need to create/edit data types locally, commit them through git, and then deploy them.