From 5d4f1aab258fb8ea114ba290d307bb5b0a8ee5ff Mon Sep 17 00:00:00 2001 From: san-nat Date: Mon, 26 Oct 2020 21:14:52 +0000 Subject: [PATCH] Fully automate dev setup with Gitpod This commit implements a fully-automated development setup using Gitpod.io, an online IDE for GitHub and GitLab that enables Dev-Environments-As-Code. This makes it easy for anyone to get a ready-to-code workspace for any branch, issue or pull request almost instantly with a single click. --- .gitpod.yml | 5 +++++ README.md | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 .gitpod.yml diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 0000000..d1180eb --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,5 @@ +image: gitpod/workspace-full + +tasks: + - init: npm install && npm run build + command: npm run dev diff --git a/README.md b/README.md index 9e111af..1fa5c7b 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/sanity-io/example-frontend-next-js) + # Sanity + Next.js frontend example DEMO 👉 https://example-frontend-next-js.sanity-io.now.sh