Skip to content

Latest commit

 

History

History
50 lines (43 loc) · 1.21 KB

README.md

File metadata and controls

50 lines (43 loc) · 1.21 KB

Cosmic Slideshow Template

Cosmic 2024 Year In Review

View the demo

Getting started

  1. Create a new project in the Cosmic dashboard.
  2. In your project, go to the Settings > Import / Export area.
  3. Download and install the Bucket JSON file to install the slideshow content model and demo content. See screenshot below:
CleanShot 2024-12-18 at 12 16 41@2x

Download and run locally

Download this code:

git clone https://github.com/cosmicjs/cosmic-slideshow
cd cosmic-slideshow

Copy the .example.env file to .env:

mv .example.env .env

Add your API keys found in the Cosmic dashboard located in Project > API keys.

COSMIC_BUCKET_SLUG=your_bucket_slug
COSMIC_READ_KEY=your_bucket_read_key

Install packages

npm i
# or
pnpm i
# or
yarn i
# or
bun i

Run locally

npm run dev
# or
pnpm run dev
# or
yarn dev
# or
bun dev