Sign inSign up

openstad/frontend

By openstad

Updated about 1 year ago

Image
0

100K+

openstad/frontend repository overview

An implementation of @openstad/cms for open democracy

Prerequisites

1. Set .env values

copy .env.example to .env and configure the env values

2. Run NPM install
npm i
  • cd packages/cms
  • npm link
  • cd ../../
  • npm link @openstad/cms

For more information about the @openstad/cms package see this readme

Travis CI

GITOPS

Gitops steps:

  • Test application
  • Generate assets
  • Build docker image
  • Push docker image
  • Commit new image to helm repo (based on GITOPS_RELEASE_BRANCH and GITOPS_{environment}_VALUES_FILE )

If you want to enable gitops flow in the ci pipeline of travis you need to configure a few variables:

  • GITOPS=true
  • DOCKER_PUBLIC_USERNAME=openstad
  • DOCKER_IMAGE_NAME=frontend
  • HELM_REPO_NAME=openstad-kubernetes
  • HELM_CHART_FOLDER=k8s/openstad
  • GITOPS_RELEASE_BRANCH=master
  • GITOPS_DEV_VALUES_FILE=k8s/openstad/environments/dev.values.yaml
  • GITOPS_ACC_VALUES_FILE=k8s/openstad/environments/acc.values.yaml
  • GITOPS_PROD_VALUES_FILE=k8s/openstad/environments/prod.values.yaml

Tag summary

Content type

Image

Digest

sha256:cf5530f06

Size

272.6 MB

Last updated

about 1 year ago

docker pull openstad/frontend:master-4d07db0