generator-fe-core
-
Clone
generator-fe-core
into your local -
Run
cd ~/git-repos/generator-fe-core
-
Run
npm i
-
Run
npm install -g yo
-
Run
yo ~/git-repos/generator-fe-core/app --force
-
Give a project name (your github project name) and a service name
-
Create a new repository with your project name, and copy the generated project
/generator-fe-core/dist/dist/YOUR_PROJECT
into it -
Create a new branch in
helm-assembly
and do the following:- Copy the charts directory
/generator-fe-core/dist/dist/charts
into/helm-assembly/charts/bizzabo/charts/YOUR_PROJECT
- Add the new project to
/helm-assembly/charts/bizzabo/templates/_helpers.tpl
:{{- define "common.bizzabo.<<service-name>>.host" -}} {{- .Values.bizzabo<<serviceNameCamelCase>>Host | default .Values.global.bizzabo<<serviceNameCamelCase>>Host | default (printf "%s-<<service-name>>.ext.dev.bizzabo.com" .Release.Name) -}} {{- end -}} {{- define "common.bizzabo.<<service-name>>.url" -}} https://{{ template "common.bizzabo.<<service-name>>.host" . }} {{- end -}}
- Before merging to master, make sure you set the number of replicas of your service in the following files:
values-qa.yaml values-qa-main.yaml values-qa-dataonly values-green-prod.yaml values-blue-prod.yaml
- Copy the charts directory