use default port 4200 for development (#322)

This commit is contained in:
Denys Vuika 2018-04-19 10:10:32 +01:00 committed by Cilibiu Bogdan
parent c4b03e2bb4
commit d586073705
5 changed files with 9 additions and 9 deletions

View File

@ -89,7 +89,7 @@
"component": {}, "component": {},
"serve": { "serve": {
"proxyConfig": "proxy.conf.js", "proxyConfig": "proxy.conf.js",
"port": 3000, "port": 4200,
"host": "0.0.0.0" "host": "0.0.0.0"
} }
} }

View File

@ -35,7 +35,7 @@ and then check out one of our issues in the [Jira][jira] or [GitHub][github]
## Development server ## Development server
Run `npm start` for a dev server. Navigate to `http://localhost:3000/` (opens by default). Run `npm start` for a dev server. Navigate to `http://localhost:4200/` (opens by default).
The app will automatically reload if you change any of the source files. The app will automatically reload if you change any of the source files.
## Build ## Build

View File

@ -21,11 +21,11 @@ The example below demonstrates the most common dynamic format for development en
The configuration above assumes you are running ACS and Content App on the same server and port The configuration above assumes you are running ACS and Content App on the same server and port
and allows deploying to different servers having the same unified configuration file. and allows deploying to different servers having the same unified configuration file.
For example, a proxy server at `localhost:3000` hosting the Content App as the root application, For example, a proxy server at `localhost:4200` hosting the Content App as the root application,
and `localhost:3000/alfresco` for the ACS repository. and `localhost:4200/alfresco` for the ACS repository.
At runtime, the application is going to automatically substitute the "{hostname}" value with the original hostname. At runtime, the application is going to automatically substitute the "{hostname}" value with the original hostname.
Optionally it can also use the value of the original port if present, for example, "3000" at local machines, or skip the value for port 80. Optionally it can also use the value of the original port if present, for example, "4200" at local machines, or skip the value for port 80.
### Static address ### Static address
@ -33,7 +33,7 @@ Alternatively, you can provide a static address for the ACS server if necessary:
```json ```json
{ {
"ecmHost": "http://localhost:3000", "ecmHost": "http://localhost:4200",
... ...
} }
``` ```

View File

@ -77,7 +77,7 @@ To perform a cleanup operation, use the next command:
docker-compose down --rmi all docker-compose down --rmi all
``` ```
Navigate to "http://localhost:3000" to access the running application. Navigate to "http://localhost:4200" to access the running application.
<p class="warning"> <p class="warning">
Please keep in mind that you should manually build the project every time you want to publish the image or run it locally with the container. Please keep in mind that you should manually build the project every time you want to publish the image or run it locally with the container.
@ -101,7 +101,7 @@ npm run build:dev
docker-compose up docker-compose up
``` ```
Navigate to "http://localhost:3000" to access the running application. Navigate to "http://localhost:4200" to access the running application.
To perform a cleanup operation, use the next command: To perform a cleanup operation, use the next command:

View File

@ -28,7 +28,7 @@ exports.config = {
directConnect: true, directConnect: true,
baseUrl: 'http://localhost:3000', baseUrl: 'http://localhost:4200',
framework: 'jasmine2', framework: 'jasmine2',
jasmineNodeOpts: { jasmineNodeOpts: {