Skip to content

Amsterdam/openstad-frontend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

3. Use npm link for local development

  • 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

About

No description or website provided.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 68.7%
  • HTML 14.2%
  • Less 13.1%
  • CSS 3.0%
  • Nunjucks 0.5%
  • Shell 0.3%
  • Other 0.2%