Skip to content

Commit

Permalink
style(polish):
Browse files Browse the repository at this point in the history
  • Loading branch information
xmlking committed Nov 16, 2018
1 parent c8084dd commit bc59099
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 32 deletions.
2 changes: 1 addition & 1 deletion .deploy/api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ cd .deploy/api
# create app (first time deployment)
oc new-app -f api.tmpl.yml -p APPNAME=ngx-starter-kit-api -n ngx-starter-kit

# follow next steps if you want completely delete and deploy.
# follow next steps if you want completely delete and redeploy.
# delete only deploymentConfig
oc delete all -l app=ngx-starter-kit-api -n ngx-starter-kit

Expand Down
8 changes: 4 additions & 4 deletions .deploy/api/api.tmpl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Template
metadata:
name: ${APPNAME}
annotations:
tags: "ngx-starter-kit-api,mongodb,template"
tags: "ngx-starter-kit-api,postgres,template"
description: ngx-starter-ki api template

objects:
Expand Down Expand Up @@ -72,13 +72,13 @@ objects:
protocol: TCP
env:
- name: TYPEORM_HOST
value: mongodb
value: postgres
- name: TYPEORM_PORT
value: 27017
value: 5432
- name: TYPEORM_DATABASE
value: cockpit
- name: TYPEORM_USERNAME
value: mdbuser
value: cockpit
- name: TYPEORM_PASSWORD
value: cockpit123

Expand Down
27 changes: 0 additions & 27 deletions .deploy/api/prod.dockerfile

This file was deleted.

1 change: 1 addition & 0 deletions apps/api/src/environments/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export const environment = {
templateDir: 'apps/api/src/assets/email-templates',
},

// Key generation: https://web-push-codelab.glitch.me
webPush: {
publicVapidKey: 'BAJq-yHlSNjUqKW9iMY0hG96X9WdVwetUFDa5rQIGRPqOHKAL_fkKUe_gUTAKnn9IPAltqmlNO2OkJrjdQ_MXNg',
privateVapidKey: 'cwh2CYK5h_B_Gobnv8Ym9x61B3qFE2nTeb9BeiZbtMI',
Expand Down

0 comments on commit bc59099

Please sign in to comment.