From dbb7ec5b906e2eeae6a9f96eb9b51d01d6abd12b Mon Sep 17 00:00:00 2001 From: Nisar Hassan Naqvi Date: Thu, 19 Mar 2020 14:38:02 +0500 Subject: [PATCH] gitpod setup: make the description precise + remove the build task to make the server startup fast. (#161) * gitpod-setup make the description precise. * remove the build task to make the server start fast. --- .gitpod.yml | 3 ++- README.md | 10 ++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index 37ef263e..9eba3947 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,6 +1,7 @@ tasks: - command: gp await-port 3000 && gp preview $(gp url 3000)/tech-interview-handbook/ - - init: cd website/ && yarn install && yarn build + - before: cd website/ + init: yarn install command: yarn start ports: - port: 3000 diff --git a/README.md b/README.md index 223d1957..eedbec35 100644 --- a/README.md +++ b/README.md @@ -70,9 +70,15 @@ 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 +### Online one-click setup for contributing -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. +You can use Gitpod (A free online VS Code-like IDE) for contributing online. With a single click it will launch a workspace and automatically: + +- clone the tech-interview-handbook repo. +- install the dependencies. +- run `yarn start`. + +So that you can start straight away. [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/yangshun/tech-interview-handbook)