From 9577a91afd9ab532f60d82e4f9a0cc54c2d83508 Mon Sep 17 00:00:00 2001 From: Rodriq Date: Tue, 18 Feb 2020 21:29:58 +0000 Subject: [PATCH 1/5] Add gitpod config this commit adds support for Gitpod.io, a free automated dev environment that makes contributing and generally working on GitHub projects much easier. It allows anyone to start a ready-to-code dev environment for any branch, issue and pull request with a single click. --- .gitpod.Dockerfile | 6 ++++++ .gitpod.yml | 8 ++++++++ README.md | 2 ++ 3 files changed, 16 insertions(+) create mode 100644 .gitpod.Dockerfile create mode 100644 .gitpod.yml diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile new file mode 100644 index 0000000000000..4c9cabfd70a40 --- /dev/null +++ b/.gitpod.Dockerfile @@ -0,0 +1,6 @@ +FROM gitpod/workspace-full + +USER gitpod + +RUN sudo apt install git-all \ + && curl https://install.meteor.com/ | sh diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 0000000000000..06afc153b77fa --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,8 @@ +tasks: + - init: curl https://install.meteor.com/ | sh && meteor npm install + command: meteor npm start +ports: + - port: 3000 + onOpen: open-preview +image: + file: .gitpod.Dockerfile diff --git a/README.md b/README.md index 54ef952d36e19..0ab3cd6eeaa89 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/RocketChat/Rocket.Chat) + ![](https://user-images.githubusercontent.com/551004/43643393-884b00a4-9701-11e8-94d8-14c46d1f3660.png)

From e29cce35a43bda934f951cfd31b88e7c49787e2a Mon Sep 17 00:00:00 2001 From: Rodriq <39289592+Rodriq@users.noreply.github.com> Date: Tue, 18 Feb 2020 22:42:43 +0100 Subject: [PATCH 2/5] Updated position of badge --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 0ab3cd6eeaa89..e507f9d8eae41 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,3 @@ -[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/RocketChat/Rocket.Chat) - ![](https://user-images.githubusercontent.com/551004/43643393-884b00a4-9701-11e8-94d8-14c46d1f3660.png)

@@ -13,6 +11,7 @@ [![Codacy Badge](https://api.codacy.com/project/badge/grade/8580571ba024426d9649e9ab389bd5dd)](https://www.codacy.com/app/RocketChat/Rocket-chat) [![Coverage Status](https://coveralls.io/repos/RocketChat/Rocket.Chat/badge.svg)](https://coveralls.io/r/RocketChat/Rocket.Chat) [![Code Climate](https://codeclimate.com/github/RocketChat/Rocket.Chat/badges/gpa.svg)](https://codeclimate.com/github/RocketChat/Rocket.Chat) +[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/RocketChat/Rocket.Chat) [![MIT License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://github.com/RocketChat/Rocket.Chat/raw/master/LICENSE) From a0250bbd15495f10e912271b466a6964f8029374 Mon Sep 17 00:00:00 2001 From: Rodriq <39289592+Rodriq@users.noreply.github.com> Date: Wed, 19 Feb 2020 01:59:45 +0100 Subject: [PATCH 3/5] Included adding meteor to path --- .gitpod.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitpod.yml b/.gitpod.yml index 06afc153b77fa..cf87afcac6f85 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,5 +1,7 @@ tasks: - - init: curl https://install.meteor.com/ | sh && meteor npm install + - init: curl https://install.meteor.com/ | sh \ + && PATH=$PATH:$HOME/.meteor \ + && meteor npm install command: meteor npm start ports: - port: 3000 From 3b0af50922820a672f33125c9c32579ed9b21cc4 Mon Sep 17 00:00:00 2001 From: Rodriq <39289592+Rodriq@users.noreply.github.com> Date: Wed, 1 Apr 2020 16:56:05 +0100 Subject: [PATCH 4/5] Updated .gitpod.Dockerfile --- .gitpod.Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile index 4c9cabfd70a40..903ab28fe2f21 100644 --- a/.gitpod.Dockerfile +++ b/.gitpod.Dockerfile @@ -2,5 +2,4 @@ FROM gitpod/workspace-full USER gitpod -RUN sudo apt install git-all \ - && curl https://install.meteor.com/ | sh +RUN curl https://install.meteor.com/ | sh From d50d59064c01af6405a44fb7e3ea96210fd5b6ad Mon Sep 17 00:00:00 2001 From: Rodriq <39289592+Rodriq@users.noreply.github.com> Date: Wed, 1 Apr 2020 16:57:35 +0100 Subject: [PATCH 5/5] Updated .gitpod.yml --- .gitpod.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index cf87afcac6f85..d8b607d3f376a 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,7 +1,5 @@ tasks: - - init: curl https://install.meteor.com/ | sh \ - && PATH=$PATH:$HOME/.meteor \ - && meteor npm install + - init: meteor npm install command: meteor npm start ports: - port: 3000