From 13aac15a19c8c77c22a01f16218baa847b77023e Mon Sep 17 00:00:00 2001 From: Ian Ramzy Date: Mon, 6 Apr 2020 11:22:30 -0400 Subject: [PATCH] add .env.template --- .env | 5 ----- .env.template | 5 +++-- README.md | 11 +++++++++-- 3 files changed, 12 insertions(+), 9 deletions(-) delete mode 100644 .env diff --git a/.env b/.env deleted file mode 100644 index 2d077cf..0000000 --- a/.env +++ /dev/null @@ -1,5 +0,0 @@ -# Required for all uses -# It takes 2 mins to get a free twilio account https://www.twilio.com/login - -TWILIO_ACCOUNT_SID=ACfc9705a2b725a7a314995eb8635a9079 -TWILIO_AUTH_TOKEN=9ab36b8ac190d20687aff0561749dbc1 \ No newline at end of file diff --git a/.env.template b/.env.template index 732462c..52f4c39 100644 --- a/.env.template +++ b/.env.template @@ -1,5 +1,6 @@ # Required for all uses # 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=ACfc9705a2b725a7a314995eb8635a9079 -LOCAL_AUTH_TOKEN=654560d5d03db5548733959aa49b55bb \ No newline at end of file +TWILIO_ACCOUNT_SID=YourAccountSIDHere +LOCAL_TWILLIO_SID=YourAuthTokenHere \ No newline at end of file diff --git a/README.md b/README.md index 427fecd..456caf9 100644 --- a/README.md +++ b/README.md @@ -37,13 +37,20 @@ git clone https://github.com/ianramzy/decentralized-video-chat cd decentralized-video-chat ``` -- Install dependencies +#### Set up credentials + +- Rename .env.template to .env +- Sign up for free twilio account https://www.twilio.com/login +- Get your Account SID and Auth Token from the Twillio console +- Fill in your credentials in the .env file + +#### Install dependencies ``` npm install ``` -- Start the server +#### Start the server ``` npm start