This repository holds the sample source code for an Oracle JET implementation of a blog site powered by Oracle Content Management.
Please see the complete tutorial and the live demo.
Run the following to install the dependencies needed by this sample:
npm install
Then, configure the exchange-url as a reference, and install the custom Oracle JET components (for US instances):
ojet configure --exchange-url=https://devinstance4wd8us2-wd4devcs8us2.uscom-central-1.oraclecloud.com/profile/devinstance4wd8us2-wd4devcs8us2/s/devinstance4wd8us2-wd4devcs8us2_compcatalog_3461/compcatalog/0.2.0
ojet add component oj-sp-welcome-page oj-sp-image-card oj-sp-item-overview-page oj-sp-item-overview --username=comp.catalog --password=bXwphh6RMFjn#g
See the documentation here for more information about connecting to the component exchange url.
The above commands use the Oracle JET CLI, which is a dependency for this project. More information about the Oracle JET CLI can be found here.
NOTE: If you need to use a proxy to reach the internet then define an
oce_https_proxy
environment variable:
export oce_https_proxy=<scheme>://<proxyhost>:<port>
During development the dev script should be used:
npm run dev
This script builds and starts the application in a local server. Webpack will watch for code changes and recreate the application as required.
The build script should be used to build the application. Run it using:
npm run build
When the script completes, the application can be started using:
npm run start
Sample images may be downloaded from https://www.oracle.com/middleware/technologies/content-experience-downloads.html under a separate license. These images are provided for reference purposes only and may not be hosted or redistributed by you.
This project welcomes contributions from the community. Before submitting a pull request, please review our contribution guide.
Please consult the security guide for our responsible security vulnerability disclosure process.
Copyright (c) 2022, 2023, Oracle and/or its affiliates.
Released under the Universal Permissive License v1.0 as shown at https://oss.oracle.com/licenses/upl/.