Skip to content

Commit a1a2d38

Browse files
Merge pull request #67 from CentreForDigitalHumanities/chore/first-deployment
Chore/first deployment
2 parents 3e6a137 + bcdf1d5 commit a1a2d38

7 files changed

Lines changed: 24 additions & 122 deletions

File tree

collect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
ALLOWED_HOSTS = ['localhost', '127.0.0.1', '::1']
1616

1717

18-
STATICFILES_DIRS = [op.join(here, 'frontend', 'dist', 'browser')]
18+
STATICFILES_DIRS = [op.join(here, 'frontend', 'dist')]
1919

2020

2121
STATIC_ROOT = op.join(here, 'static')

frontend/angular.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@
2121
"build": {
2222
"builder": "@angular-devkit/build-angular:application",
2323
"options": {
24-
"outputPath": "dist",
24+
"outputPath": {
25+
"base": "dist",
26+
"browser": ""
27+
},
2528
"index": "src/index.html",
2629
"browser": "src/main.ts",
2730
"polyfills": ["zone.js", "@angular/localize/init"],
@@ -46,9 +49,6 @@
4649
}
4750
],
4851
"scripts": [],
49-
"server": "src/main.server.ts",
50-
"prerender": true,
51-
"ssr": false,
5252
"baseHref": "/"
5353
},
5454
"configurations": {

frontend/server.ts

Lines changed: 0 additions & 65 deletions
This file was deleted.

frontend/src/app/app.config.server.ts

Lines changed: 0 additions & 11 deletions
This file was deleted.

frontend/src/main.server.ts

Lines changed: 0 additions & 7 deletions
This file was deleted.

frontend/tsconfig.app.json

Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,10 @@
1-
/* To learn more about this file see: https://angular.io/config/tsconfig. */
2-
{
3-
"extends": "./tsconfig.json",
4-
"compilerOptions": {
5-
"outDir": "./out-tsc/app",
6-
"types": [
7-
"node",
8-
"@angular/localize"
9-
]
10-
},
11-
"files": [
12-
"src/main.ts",
13-
"src/main.server.ts",
14-
"server.ts"
15-
],
16-
"include": [
17-
"src/**/*.d.ts"
18-
]
19-
}
1+
/* To learn more about this file see: https://angular.io/config/tsconfig. */
2+
{
3+
"extends": "./tsconfig.json",
4+
"compilerOptions": {
5+
"outDir": "./out-tsc/app",
6+
"types": ["node", "@angular/localize"]
7+
},
8+
"files": ["src/main.ts"],
9+
"include": ["src/**/*.d.ts"]
10+
}

frontend/tsconfig.spec.json

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
1-
/* To learn more about this file see: https://angular.io/config/tsconfig. */
2-
{
3-
"extends": "./tsconfig.json",
4-
"compilerOptions": {
5-
"outDir": "./out-tsc/spec",
6-
"types": [
7-
"jasmine",
8-
"@angular/localize"
9-
]
10-
},
11-
"include": [
12-
"src/**/*.spec.ts",
13-
"src/**/*.d.ts"
14-
]
15-
}
1+
/* To learn more about this file see: https://angular.io/config/tsconfig. */
2+
{
3+
"extends": "./tsconfig.json",
4+
"compilerOptions": {
5+
"outDir": "./out-tsc/spec",
6+
"types": ["jasmine", "@angular/localize"]
7+
},
8+
"include": ["src/**/*.spec.ts", "src/**/*.d.ts"]
9+
}

0 commit comments

Comments
 (0)