Skip to content

Commit

Permalink
Merge pull request #1512 from bcgov/develop
Browse files Browse the repository at this point in the history
Deployment PR - 1030
  • Loading branch information
trslater authored Apr 29, 2024
2 parents d5d0d3f + ff2fd61 commit 207ae5c
Show file tree
Hide file tree
Showing 1,064 changed files with 39,952 additions and 21,942 deletions.
5 changes: 5 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,8 @@ exclude_patterns:
- "**/migrations/"
- "**/*.spec.ts"
- "**/*.d.ts"
- "**/*.dto.ts"
- "**/*.module.ts",
- "**/commands/"
- "**/import/"
- "**/*.entity.ts"
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
[![Stars](https://img.shields.io/github/stars/bcgov/alcs.svg)](https://github.com/bcgov/tno/stargazers)
[![Wachters](https://img.shields.io/github/watchers/bcgov/alcs.svg)](https://github.com/bcgov/tno/watchers)

This project contains the frontend and backend for the ALCS used for tracking various permits and other ALC related documents
This project contains the frontend and backend for the ALCS used for tracking various permits and other ALC related
documents

## Getting Help or Reporting an Issue
## Getting Help or Reporting an Issue

To report bugs/issues/features requests, please file an [issue](https://github.com/bcgov/alcs/issues).

Expand All @@ -25,9 +26,8 @@ To report bugs/issues/features requests, please file an [issue](https://github.c
- [One time Jobs](./docs/jobs.md)

## Run dev setup

- [Prerequisites](./docs/prerequisites.md)
- [Run ALCS Frontend](./alcs-frontend/README.md)
- [Run Portal Frontend Readme](./portal-frontend/README.md)
- [Run Services](./services/README.md)
- [Setup database](./services/README.md)
- Acquire latest development.json from some developer on the team
- Run docker - `docker compose up`
- [Run Services](./services/README.md)
48 changes: 36 additions & 12 deletions alcs-frontend/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,19 @@
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": ["src/favicon.ico", "src/assets", "src/maintenance.html"],
"styles": ["./node_modules/@angular/material/prebuilt-themes/indigo-pink.css", "src/styles.scss"],
"assets": [
"src/favicon.ico",
"src/assets",
"src/maintenance.html"
],
"styles": [
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
"src/styles.scss"
],
"stylePreprocessorOptions": {
"includePaths": ["node_modules"]
"includePaths": [
"node_modules"
]
},
"scripts": []
},
Expand Down Expand Up @@ -73,28 +82,38 @@
"builder": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"browserTarget": "alcs-frontend:build:production"
"buildTarget": "alcs-frontend:build:production"
},
"development": {
"browserTarget": "alcs-frontend:build:development"
"buildTarget": "alcs-frontend:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "alcs-frontend:build"
"buildTarget": "alcs-frontend:build"
}
},
"test": {
"builder": "@angular-builders/jest:run",
"options": {
"polyfills": ["src/polyfills.ts"],
"polyfills": [
"src/polyfills.ts"
],
"tsConfig": "tsconfig.spec.json",
"inlineStyleLanguage": ["scss"],
"assets": ["src/favicon.ico", "src/assets"],
"styles": ["./node_modules/@angular/material/prebuilt-themes/indigo-pink.css", "src/styles.scss"],
"inlineStyleLanguage": [
"scss"
],
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
"src/styles.scss"
],
"scripts": [],
"detectOpenHandles": true,
"forceExit": true
Expand All @@ -103,14 +122,19 @@
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": ["src/**/*.ts", "src/**/*.html"]
"lintFilePatterns": [
"src/**/*.ts",
"src/**/*.html"
]
}
}
}
}
},
"cli": {
"analytics": "d29c8019-b84b-4fdc-9690-1ee8ea441897",
"schematicCollections": ["@angular-eslint/schematics"]
"schematicCollections": [
"@angular-eslint/schematics"
]
}
}
2 changes: 1 addition & 1 deletion alcs-frontend/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ http {
add_header 'X-XSS-Protection' '1; mode=block';
add_header 'Strict-Transport-Security' 'max-age=31536000; includeSubDomains; preload';
add_header 'Cache-control' 'no-cache';
add_header 'Content-Security-Policy' "default-src 'self';img-src 'self';style-src 'unsafe-inline' 'self';connect-src $ENABLED_CONNECT_SRC; font-src 'self' https://fonts.gstatic.com https://fonts.googleapis.com; base-uri 'self'; object-src 'none'; frame-src https://alcs-metabase-test.apps.silver.devops.gov.bc.ca https://alcs-metabase-prod.apps.silver.devops.gov.bc.ca;";
add_header 'Content-Security-Policy' "default-src 'self';img-src 'self';style-src 'unsafe-inline' 'self';connect-src $ENABLED_CONNECT_SRC; font-src 'self' https://fonts.gstatic.com https://fonts.googleapis.com; base-uri 'self'; object-src https://nrs.objectstore.gov.bc.ca; frame-src https://alcs-metabase-test.apps.silver.devops.gov.bc.ca https://alcs-metabase-prod.apps.silver.devops.gov.bc.ca https://nrs.objectstore.gov.bc.ca;";
add_header 'Permissions-Policy' 'camera=(), geolocation=(), microphone=()';
add_header 'Referrer-Policy' 'same-origin';

Expand Down
Loading

0 comments on commit 207ae5c

Please sign in to comment.