This repository holds the sample source code for a Svelte with Sapper implementation of a simple site that uses digital assets managed in Oracle Content Management.
Please see the complete tutorial and live demo.
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
During development the dev script should be used:
npm run dev
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:3000
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) 2021, 2022, Oracle and/or its affiliates.
Released under the Universal Permissive License v1.0 as shown at https://oss.oracle.com/licenses/upl/.