From de95a3716b10733b2c430052a295cf4cce773be9 Mon Sep 17 00:00:00 2001 From: Nisar Hassan Naqvi Date: Wed, 28 Oct 2020 08:51:42 +0000 Subject: [PATCH] make contributions easier via the online automated dev setup. --- .env.template | 4 ++-- .gitpod.yml | 8 ++++++++ README.md | 1 + 3 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 .gitpod.yml diff --git a/.env.template b/.env.template index ad9d69a..292b620 100644 --- a/.env.template +++ b/.env.template @@ -2,5 +2,5 @@ # It takes 2 mins to get a free twilio account https://www.twilio.com/login # Fill in your credentials below and rename this file to .env -TWILIO_ACCOUNT_SID=YourAccountSIDHere -LOCAL_AUTH_TOKEN=YourAuthTokenHere +TWILIO_ACCOUNT_SID=${TWILIO_ACCOUNT_SID} +LOCAL_AUTH_TOKEN=${LOCAL_AUTH_TOKEN} diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 0000000..cf32dfd --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,8 @@ +tasks: + - init: npm install + command: | + cp .env.template .env + npm start +ports: + - port: 3000 + onOpen: open-preview diff --git a/README.md b/README.md index b8d1b69..4a40de6 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ [![Repo Link](https://img.shields.io/badge/Repo-Link-black.svg)](https://github.com/ianramzy/decentralized-video-chat) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?)](https://github.com/prettier/prettier) [![Join the chat at https://gitter.im/zipcall](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/zipcall) +[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod)](https://gitpod.io/from-referrer/) # https://zipcall.io