Info
This support article is valid from PWA 0.17.0.
This article describes how to deploy Intershop Progressive Web Application (PWA) for a demo server in development mode.
The development mode uses simple browser-side rendering. More details about this option, see Intershop Progressive Web App - Deployment Scenarios.
Download the corresponding PWA version from https://github.com/intershop/intershop-pwa/releases.
wget https://github.com/intershop/intershop-pwa/archive/0.27.0.zip
Unzip the file.
unzip 0.27.0.zip
PWA <0.22.0: The directory name must not contain any dots.
Change to the PWA directory.
cd intershop-pwa
Install the PWA.
npm install
Start the PWA.
ng serve --host <host_ip> --port <port>
In the default configuration, the PWA runs with test data. If the PWA is to be connected to an ICM 7.10 system, the configuration file src/environments/environment.ts must be adapted. The property mockServerAPI
must be set to false
and icmBaseURL
must be set to the correct ICM 7.10 URL.
If icmBaseURL
uses HTTPS
, the parameter --ssl
must be added to the ng serve
command.
export const environment: Environment = { ...ENVIRONMENT_DEFAULTS, mockServerAPI: true, /* INTERSHOP COMMERCE MANAGEMENT REST API CONFIGURATION */ icmBaseURL: 'http://localhost:4200', };
To access the PWA, open a web browser at the specified URL.
... ** Angular Live Development Server is listening on 10.0.56.157:4200, open your browser on http://10.0.56.157:4200/ ** : Compiled successfully.