Skip to content

Commit

Permalink
Merge pull request #14 from svenefftinge/master
Browse files Browse the repository at this point in the history
Added Gitpod Config
  • Loading branch information
swyxio committed Nov 28, 2019
2 parents 7836027 + d543ae2 commit c5d37cb
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitpod.Dockerfile
@@ -0,0 +1,5 @@
FROM gitpod/workspace-full

USER gitpod

RUN npm i -g netlify-cli gatsby-cli
14 changes: 14 additions & 0 deletions .gitpod.yml
@@ -0,0 +1,14 @@
image:
file: .gitpod.Dockerfile

# List the ports you want to expose and what to do when they are served. See https://www.gitpod.io/docs/43_config_ports/
ports:
- port: 8000
onOpen: ignore
- port: 8888
onOpen: open-preview

# List the start up tasks. You can start them in parallel in multiple terminals. See https://www.gitpod.io/docs/44_config_start_tasks/
tasks:
- init: yarn
command: netlify dev
9 changes: 9 additions & 0 deletions README.md
@@ -1,11 +1,17 @@
## Make Authenticated, Serverless, Dynamic Clientside JAMstack apps with Gatsby + Netlify Dev (Functions + Identity)!

<marquee>
<div>
<a href="https://app.netlify.com/sites/jamstack-hackathon-starter/deploys?utm_source=github&utm_medium=swyx-hackathon-starter&utm_campaign=devex">
<img alt="Netlify Status" src="https://api.netlify.com/api/v1/badges/7be76523-4643-4ce9-a6fd-a103463b62f3/deploy-status?utm_source=github&utm_medium=swyx-hackathon-starter&utm_campaign=devex" />
</a>
<a href="https://gitpod.io/from-referrer/" style="margin-left:600px;">
<img alt="Open Gitpod" src="https://img.shields.io/badge/gitpod-ready-blue?logo=gitpod" />
</a>
</div>
</marquee>


This is a fork of https://github.com/gatsbyjs/gatsby-starter-default which shows how to use Netlify Identity and Netlify Functions (via [Netlify Dev](https://www.netlify.com/products/dev/?utm_source=github&utm_medium=swyx-hackathon-starter&utm_campaign=devex)) with Gatsby. Start here for your next JAMstack hackathon or use this as a reference implementation.

Features:
Expand Down Expand Up @@ -37,6 +43,9 @@ You may not need this starter repo! Learn how to add Netlify Identity and Functi
You can clone and deploy this sample project with one click:
[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/sw-yx/jamstack-hackathon-starter&stack=cms&utm_source=github&utm_medium=swyx-hackathon-starter&utm_campaign=devex)

For development you can clone and open this project with another click:
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/from-referrer/)

Basically these are the extra dependencies it adds:

- [`netlify-lambda`](https://github.com/netlify/netlify-lambda): For installing dependencies of Netlify Functions when deploying
Expand Down

0 comments on commit c5d37cb

Please sign in to comment.