Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rishi-raj-jain/link-hub-storyblok-astro-edgio-starter
Build Your Own Link Hub With Storyblok, Astro, and Edgio.
https://github.com/rishi-raj-jain/link-hub-storyblok-astro-edgio-starter
astro caching edgio stale-while-revalidate storyblok
Last synced: 8 days ago
JSON representation
Build Your Own Link Hub With Storyblok, Astro, and Edgio.
- Host: GitHub
- URL: https://github.com/rishi-raj-jain/link-hub-storyblok-astro-edgio-starter
- Owner: rishi-raj-jain
- License: agpl-3.0
- Created: 2023-02-19T10:35:39.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-09T10:34:37.000Z (over 1 year ago)
- Last Synced: 2024-10-12T13:48:29.422Z (2 months ago)
- Topics: astro, caching, edgio, stale-while-revalidate, storyblok
- Language: JavaScript
- Homepage: https://rishi-raj-jain-link-hub-storyblok-astro-edgio-starter-default.layer0-limelight.link/me/rishi-raj-jain
- Size: 730 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Build Your Own Link Hub With Storyblok, Astro, and Edgio
Guide: [https://www.storyblok.com/tp/link-hub-with-storyblok-astro-edgio](https://www.storyblok.com/tp/link-hub-with-storyblok-astro-edgio)
## Demo
https://rishi-raj-jain-link-hub-storyblok-astro-edgio-starter-default.layer0-limelight.link/me/rishi-raj-jain
## Try It Now
[![Deploy with Edgio](https://docs.edg.io/button.svg)](https://app.layer0.co/deploy?repo=https://github.com/rishi-raj-jain/link-hub-storyblok-astro-edgio-starter)
## Getting Started
### Clone This Repo
Use `git clone https://github.com/rishi-raj-jain/link-hub-storyblok-astro-edgio-starter.git` to get the files within this repository onto your local machine.
### Install dependencies
On the command line, in the project root directory, run the following command:
```bash
yarn install
```### Run the Astro app locally on Edgio
```bash
yarn run edgio:dev
```Load the site: http://127.0.0.1:3000
### Testing production build locally with Edgio
You can do a production build of your app and test it locally using:
```bash
yarn run edgio:build && yarn run edgio:production
```Setting --production runs your app exactly as it will be uploaded to the Edgio cloud using serverless-offline.
## Deploying to Edgio
Deploying requires an account on Edgio. [Sign up here for free](https://app.layer0.co/signup). Once you have an account, you can deploy to Edgio by running the following in the root folder of your project:
```bash
yarn run edgio:deploy
```See [deploying](https://docs.edg.io/guides/deploying) for more information.