Skip to content

Commit 74418c2

Browse files
authored
adapt ports (#109)
1 parent 75d31c8 commit 74418c2

File tree

7 files changed

+9
-8
lines changed

7 files changed

+9
-8
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ FROM nginx:alpine
1111
COPY --from=builder /app/dist/* /usr/share/nginx/html/
1212

1313
ENV LATEX_RENDERER_HOST_NAME localhost
14-
ENV LATEX_RENDERER_PORT 8083
14+
ENV LATEX_RENDERER_PORT 5030
1515
ENV CONFIG_SERVER config-server
1616
ENV CONFIG_SERVER_PORT 2379
1717

angular.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@
6363
"serve": {
6464
"builder": "@angular-devkit/build-angular:dev-server",
6565
"options": {
66-
"browserTarget": "pattern-pedia:build"
66+
"browserTarget": "pattern-pedia:build",
67+
"port": 1978
6768
},
6869
"configurations": {
6970
"production": {

docs/dev/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
## Project Setup
99
- Clone the repository
1010
- Install the dependencies using `yarn` or `yarn install`
11-
- Start the project with `yarn start`. The application should run on http://localhost:4200
11+
- Start the project with `yarn start`. The application should run on http://localhost:1978
1212

1313
### Linting
1414
Use `yarn lint` to run the linter.

src/app/globals.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const globals = {
1717
iriPatternRepoInstance: 'https://purl.org/patternpedia#LinkedOpenPatterns',
1818
urlGithubAPI: 'https://api.github.com/repos/PatternPedia/patternpediacontent/contents',
1919
loadOntologyLocally: true,
20-
repoEndpoint: 'http://localhost:8080/patternpedia',
20+
repoEndpoint: 'http://localhost:1977/patternpedia',
2121
pathConstants: {
2222
patternLanguages: 'pattern-languages',
2323
patternLanguageId: 'pattern-language-id',

src/assets/env.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
window['env']['LATEX_RENDERER_HOST_NAME'] = 'localhost';
99
window['env']['PATTERN_ATLAS_HOST_NAME'] = 'localhost';
1010
window['env']['CONFIG_SERVER_PORT'] = 2379;
11-
window['env']['LATEX_RENDERER_PORT'] = 8083;
11+
window['env']['LATEX_RENDERER_PORT'] = 5030;
1212
})(this);

src/environments/environment.prod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
export const environment = {
1616
PRODUCTION: true,
17-
API_URL: 'http://localhost:8080',
17+
API_URL: 'http://localhost:1977',
1818
authorizeUrl: 'http://localhost:8081/oauth/authorize?',
1919
tokenUrl: 'http://localhost:8081/oauth/token',
2020
tokenRevokeUrl: 'http://localhost:8081/oauth/revoke_token',

src/environments/environment.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ export const environment = {
2121
API_URL:
2222
window['env'] && window['env']['PATTERN_ATLAS_API_HOST_NAME'] && window['env']['PATTERN_ATLAS_API_PORT']
2323
? `http://${window['env']['PATTERN_ATLAS_API_HOST_NAME']}:${window['env']['PATTERN_ATLAS_API_PORT']}/atlas`
24-
: 'http://localhost:8080/patternpedia',
24+
: 'http://localhost:1977/patternpedia',
2525
LATEX_RENDERER_API_URL:
2626
window['env'] && window['env']['LATEX_RENDERER_HOST_NAME'] &&
2727
window['env']['LATEX_RENDERER_PORT']
2828
? `http://${window['env']['LATEX_RENDERER_HOST_NAME']}:${window['env']['LATEX_RENDERER_PORT']}`
29-
: 'http://localhost:8083',
29+
: 'http://localhost:5030',
3030
authorizeUrl: 'http://localhost:8081/oauth/authorize?',
3131
tokenUrl: 'http://localhost:8081/oauth/token',
3232
tokenRevokeUrl: 'http://localhost:8081/oauth/revoke_token',

0 commit comments

Comments
 (0)