https://github.com/oracle-samples/oce-svelte-gallery-sample
Sample image gallery built using Svelte/Sapper and images from Oracle Content Management
https://github.com/oracle-samples/oce-svelte-gallery-sample
cms headless-cms headless-sample oracle-content-experience oracle-content-management sapper svelte sveltejs
Last synced: about 2 months ago
JSON representation
Sample image gallery built using Svelte/Sapper and images from Oracle Content Management
- Host: GitHub
- URL: https://github.com/oracle-samples/oce-svelte-gallery-sample
- Owner: oracle-samples
- License: upl-1.0
- Created: 2021-11-30T21:32:56.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-18T14:53:10.000Z (almost 2 years ago)
- Last Synced: 2023-08-18T16:15:22.044Z (almost 2 years ago)
- Topics: cms, headless-cms, headless-sample, oracle-content-experience, oracle-content-management, sapper, svelte, sveltejs
- Language: JavaScript
- Homepage:
- Size: 58.6 KB
- Stars: 3
- Watchers: 4
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
- Security: SECURITY.md
Awesome Lists containing this project
README
# About Svelte Image Gallery
This repository holds the sample source code for a [Svelte](https://svelte.dev) with [Sapper](https://sapper.svelte.dev) implementation of an image gallery site powered by Oracle Content Management.
Please see the [complete tutorial](https://www.oracle.com/pls/topic/lookup?ctx=cloud&id=oce-svelte-gallery-sample) and [live demo](https://headless.mycontentdemo.com/samples/oce-svelte-gallery-sample).
## How to run
> **NOTE:** If you need to use a proxy to reach the internet then define an `oce_https_proxy` environment variable:
```shell
export oce_https_proxy=://:
```Install dependencies by running:
```shell
npm install
```### Development
During development the dev script should be used:
```shell
npm run dev
```### Production
For production the build script should be used to build the client and server bundles. Run it using:
```shell
npm run build
```When the script completes the application can be started using:
```shell
npm run start
```and then open [http://localhost:3000](http://localhost:3000)
## Images
Sample images may be downloaded from [https://www.oracle.com/middleware/technologies/content-experience-downloads.html](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](./CONTRIBUTING.md).## Security
Please consult the [security guide](./SECURITY.md) 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
.