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 Gatsby and loading content from Oracle Content Management.

License

Notifications You must be signed in to change notification settings

oracle-samples/oce-gatsby-minimal-sample

Repository files navigation

About Gatsby Minimal Sample

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

Please see the complete tutorial and the live demo.

Installation

Run the following to install the dependencies needed by this sample:

npm install

Running the project

NOTE: If you need to use a proxy to reach the internet then define a PROXY_URL environment variable through the shell or in the .env file:

export PROXY_URL=<scheme>://<proxyhost>:<port>

Development

During development the dev script should be used:

npm run develop

Production

The following command will produce a complete static build in the /public directory of your project.

npm run build

This can then be deployed on a web server. If you want to test it in place you can run:

npm run serve

and then open http://localhost:9000

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, 2022, Oracle and/or its affiliates.

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