dgl-gui
v39.0.1
Published
Douglas Storefront
Maintainers
Readme
DOUGLAS GUI React app
Douglas SPA Frontend using ReactJS, redux and custom router with hybris. Capable of SSR, Lazy Loading and more.
Documentation
You can find several README files like this one spread throughout the project. Those files mainly cover the technical details around running, building and debugging the project.
You can also access more in-depth articles and step-by-step instructions by running npm run docs in your terminal. The source files for this are located in the /documentation folder.
How to use
Step 1: NodeJS and npm
Download and install Node.js v22.15.0.
The following project requirements criteria must be meet in order to successfully run the project:
- NodeJS version:
22.15.0. Check with:node -v. - npm last known working version:
10.9.2. Check with:npm -v. Update withnpm install -g [email protected]
Step 2: Get dependency packages
npm install
Note: _In case of too old node_modules (or major update of NodeJS or typescript), `npm i` can fail. Then use `npm ci`._Step 3: Add required environment variables
In order to be able to use Customer Data you need to export CUSTOMER_DATA_USER_KEY and CUSTOMER_DATA_SECRET_KEY environment variables.
Step 4: Start project
There are several ways of starting the project fully locally and locally with remotely backend.
Start command
We suggest using this command.
npm run serve
npm run build