Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

A simple site built using React and loading content from Oracle Content Management

License

Notifications You must be signed in to change notification settings

oracle-samples/oce-react-minimal-sample

Repository files navigation

About React Minimal Site Sample

This repository holds the sample source code for a ReactJS implementation of a simple site that uses digital assets managed in Oracle Content Management.

Please see the complete tutorial and live demo.

How to run

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>

Install dependencies by running:

npm install

Development

During development the dev script should be used:

npm run dev

This script builds the client and server bundles and starts the application in a local server. Webpack will watch for code changes and recreate the client and server bundles as required.

Production

For production the build script should be used to build the client and server bundles. Run it using:

npm run build

When the script completes the application can be started using:

npm run start

and then open http://localhost:8080

Images

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.

Contributing

This project welcomes contributions from the community. Before submitting a pull request, please review our contribution guide.

Security

Please consult the security guide for our responsible security vulnerability disclosure process.

License

Copyright (c) 2021, 2023 Oracle and/or its affiliates.

Released under the Universal Permissive License v1.0 as shown at https://oss.oracle.com/licenses/upl/.