Skip to content

Commit 9d2f587

Browse files
update README.md
1 parent a5353f0 commit 9d2f587

File tree

2 files changed

+38
-1
lines changed

2 files changed

+38
-1
lines changed

README.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,38 @@
11
# Oracle CX Commerce webpack plugin
2+
3+
## Usage
4+
5+
Install the module:
6+
7+
```$xslt
8+
yarn add -D occ-webpack-plugin
9+
// or
10+
npm install occ-webpack-plugin
11+
```
12+
13+
Now you can use DCU in your CI/CD pipelines.
14+
15+
```javascript
16+
const WebpackOnBuildPlugin = require("occ-webpack-plugin");
17+
18+
new WebpackOnBuildPlugin({
19+
platform: path.resolve(__dirname, "platform"),
20+
});
21+
```
22+
23+
## Deployment
24+
25+
Install the module:
26+
27+
```$xslt
28+
yarn add -D @oraclecc/dcu
29+
// or
30+
npm install @oraclecc/dcu
31+
```
32+
33+
Transfer all files to the given Commerce Cloud administration interface from the platform folder.
34+
35+
```$xslt
36+
cd platform/
37+
npx dcu -k $APP_KEY -n $APP_NODE -x .
38+
```

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "occ-webpack-build-plugin",
2+
"name": "occ-webpack-plugin",
33
"description": "Oracle CX Commerce webpack plugin",
44
"version": "1.0.0",
55
"main": "index.js",

0 commit comments

Comments
 (0)