Skip to content

Latest commit

 

History

History
47 lines (38 loc) · 1.05 KB

README.md

File metadata and controls

47 lines (38 loc) · 1.05 KB

Plate - CMS of 報導者 The Reporter

This repo is used as the CMS of 報導者 The Reporter.

Plate uses twreporter-keystone which is based on keystone.

Install Dependencies

yarn install

Development

make dev

Production

make start

Re-Configuration

make build-config

Configuration

  • mongo:
    • mongodb url to connect to
    • default value: 'mongodb://localhost:27017/plate'
  • auth:
    • check requests authorization if true
    • default value: true
  • cookie secret
    • to sign cookies
    • default value: 'unset-cookie-secret'
  • gcs project id
    • google cloud platform project id
    • default value: ''
  • gcs bucket
    • google cloud platform storage bucket
    • default value: ''

Build New Docker Image and Push it to Google Container Registry

We integrate CircleCI to build new docker image and push it to Google Container Registry.

Every PR merged into release branch will trigger the build process.