mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
added npm-run-all
This commit is contained in:
23
README.md
23
README.md
@@ -90,6 +90,29 @@ To use the configuration parameters in your component:
|
||||
import { environment } from '../environment.ts';
|
||||
```
|
||||
|
||||
This file is generated by the script located in `scripts/set-env.ts`.
|
||||
|
||||
The server settings can be overwritten using an environment file.
|
||||
|
||||
This file should be called `.env` and be placed in the project root.
|
||||
|
||||
The following settings can be overwritten in this file:
|
||||
|
||||
```
|
||||
DSPACE_HOST // The host name of the angular application
|
||||
DSPACE_PORT // The port number of the angular application
|
||||
DSPACE_NAMESPACE // The namespace of the angular application
|
||||
DSPACE_SSL // Whether the angular application uses SSL [true/false]
|
||||
|
||||
DSPACE_REST_HOST // The host name of the REST application
|
||||
DSPACE_REST_PORT // The port number of the REST application
|
||||
DSPACE_REST_NAMESPACE // The namespace of the REST application
|
||||
DSPACE_REST_SSL // Whether the angular REST uses SSL [true/false]
|
||||
```
|
||||
|
||||
The same settings can also be overwritten by setting system environment variables instead, E.g.:
|
||||
```export DSPACE_HOST=https://dspace7.4science.cloud/server```
|
||||
|
||||
Running the app
|
||||
---------------
|
||||
|
||||
|
Reference in New Issue
Block a user