From 94c9c2c20934fe99dc0ad6b71d54ee4df7c5d442 Mon Sep 17 00:00:00 2001 From: Theodoros Ploumis Date: Fri, 26 Aug 2022 18:41:27 +0000 Subject: [PATCH 1/2] Add gitpod.io integration --- .gitpod.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .gitpod.yml diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 00000000..cc7331bf --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,11 @@ +# https://www.gitpod.io integration +tasks: + - name: astro-build + before: npm install && npm run build + init: npm run dev + command: gp await-port 3000 && gp preview $(gp url 3000) + +ports: + - port: 3000 + onOpen: open-browser + visibility: public From 64840b79a9958e4dcb92e5ba688dad5d8577658c Mon Sep 17 00:00:00 2001 From: Theodoros Ploumis Date: Fri, 26 Aug 2022 18:44:37 +0000 Subject: [PATCH 2/2] Add gitpod.io button on README --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 7bcefe4a..9ebfbd9f 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,7 @@ Feel free to contribute! The content is mostly Markdown files bopped into the appropriate folders. Site is built on [Astro](https://astro.build/). You should be able to pull it, `npm install`, and `npm run dev` and it'll come up. + +You can also use Gitpod to get an online instance. + +[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/CSS-Tricks/serverless)