From 988fd1596a1e21994d3409b16ab30949cd8dcab7 Mon Sep 17 00:00:00 2001 From: Nisar Hassan Naqvi Date: Mon, 27 Jan 2020 06:52:00 +0000 Subject: [PATCH] simplifies code contributions by automating the dev setup with gitpod. --- .gitpod.yml | 7 +++++++ README.md | 10 ++++++++++ 2 files changed, 17 insertions(+) create mode 100644 .gitpod.yml diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 00000000..37ef263e --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,7 @@ +tasks: + - command: gp await-port 3000 && gp preview $(gp url 3000)/tech-interview-handbook/ + - init: cd website/ && yarn install && yarn build + command: yarn start +ports: + - port: 3000 + onOpen: ignore diff --git a/README.md b/README.md index b8e96030..6f72a83d 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,10 @@ Tech Interview Handbook
+ + Gitpod Ready to Code + +

Credits: Illustration by @yangheng

@@ -66,6 +70,12 @@ If you are interested in how data structures are implemented, check out [Lago](h There are no formal contributing guidelines at the moment as things are still in flux and we might find a better approach to structure content as we go along. You are welcome to contribute whatever you think will be helpful to fellow engineers. If you would like to contribute content for different domains, feel free to create an issue or submit a pull request and we can discuss further. +### Contribute online with a single click + +You can use gitpod (A free online VS Code like IDE) for contributing online. With a single click in it will launch a ready to code workspace with all the dependencies being pre-installed & the build & start scripts for the website in process so that you can start coding straight away. + +[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/yangshun/tech-interview-handbook) + ### Contributors This project exists thanks to all the people who contributed. [[Contribute](CONTRIBUTING.md)].