An open API service indexing awesome lists of open source software.

https://github.com/preprio/gatsby-quick-start


https://github.com/preprio/gatsby-quick-start

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# Gatsby Quick Start
The Gatsby quick start project launches a blog app with content from Prepr.

## Setup

Make sure to install the dependencies:

```bash
# yarn
yarn install

# npm
npm install

# pnpm
pnpm install --shamefully-hoist
```

## Add the environment file
Copy the .env.example file in this directory to .env (which will be ignored by Git) by running the following command:
```bash
cp .env.example .env
```

## Update the environment file
In the .env file replace `` with the Prepr API URL from your environment access token with demo content.

## Development Server

Start the development server on http://localhost:8000

```bash
npm run develop
```

## Production

Check out the [deployment documentation](https://www.gatsbyjs.com/docs/how-to/previews-deploys-hosting/) for more information.

## The end result

![blog site end result](https://assets-site.prepr.io//5oz8w28ybxje-screenshot-2023-05-10-at-111353.png)