Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ FROM nginx:alpine
COPY --from=builder /app/dist/* /usr/share/nginx/html/

ENV LATEX_RENDERER_HOST_NAME localhost
ENV LATEX_RENDERER_PORT 8083
ENV LATEX_RENDERER_PORT 5030
ENV CONFIG_SERVER config-server
ENV CONFIG_SERVER_PORT 2379

Expand Down
3 changes: 2 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "pattern-pedia:build"
"browserTarget": "pattern-pedia:build",
"port": 1978
},
"configurations": {
"production": {
Expand Down
2 changes: 1 addition & 1 deletion docs/dev/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
## Project Setup
- Clone the repository
- Install the dependencies using `yarn` or `yarn install`
- Start the project with `yarn start`. The application should run on http://localhost:4200
- Start the project with `yarn start`. The application should run on http://localhost:1978

### Linting
Use `yarn lint` to run the linter.
Expand Down
2 changes: 1 addition & 1 deletion src/app/globals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const globals = {
iriPatternRepoInstance: 'https://purl.org/patternpedia#LinkedOpenPatterns',
urlGithubAPI: 'https://api.github.com/repos/PatternPedia/patternpediacontent/contents',
loadOntologyLocally: true,
repoEndpoint: 'http://localhost:8080/patternpedia',
repoEndpoint: 'http://localhost:1977/patternpedia',
pathConstants: {
patternLanguages: 'pattern-languages',
patternLanguageId: 'pattern-language-id',
Expand Down
2 changes: 1 addition & 1 deletion src/assets/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
window['env']['LATEX_RENDERER_HOST_NAME'] = 'localhost';
window['env']['PATTERN_ATLAS_HOST_NAME'] = 'localhost';
window['env']['CONFIG_SERVER_PORT'] = 2379;
window['env']['LATEX_RENDERER_PORT'] = 8083;
window['env']['LATEX_RENDERER_PORT'] = 5030;
})(this);
2 changes: 1 addition & 1 deletion src/environments/environment.prod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

export const environment = {
PRODUCTION: true,
API_URL: 'http://localhost:8080',
API_URL: 'http://localhost:1977',
authorizeUrl: 'http://localhost:8081/oauth/authorize?',
tokenUrl: 'http://localhost:8081/oauth/token',
tokenRevokeUrl: 'http://localhost:8081/oauth/revoke_token',
Expand Down
4 changes: 2 additions & 2 deletions src/environments/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ export const environment = {
API_URL:
window['env'] && window['env']['PATTERN_ATLAS_API_HOST_NAME'] && window['env']['PATTERN_ATLAS_API_PORT']
? `http://${window['env']['PATTERN_ATLAS_API_HOST_NAME']}:${window['env']['PATTERN_ATLAS_API_PORT']}/atlas`
: 'http://localhost:8080/patternpedia',
: 'http://localhost:1977/patternpedia',
LATEX_RENDERER_API_URL:
window['env'] && window['env']['LATEX_RENDERER_HOST_NAME'] &&
window['env']['LATEX_RENDERER_PORT']
? `http://${window['env']['LATEX_RENDERER_HOST_NAME']}:${window['env']['LATEX_RENDERER_PORT']}`
: 'http://localhost:8083',
: 'http://localhost:5030',
authorizeUrl: 'http://localhost:8081/oauth/authorize?',
tokenUrl: 'http://localhost:8081/oauth/token',
tokenRevokeUrl: 'http://localhost:8081/oauth/revoke_token',
Expand Down