add .env.template

This commit is contained in:
Ian Ramzy 2020-04-06 11:22:30 -04:00
parent 0182d38e71
commit 13aac15a19
3 changed files with 12 additions and 9 deletions

5
.env vendored
View File

@ -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

5
.env.template vendored
View File

@ -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
TWILIO_ACCOUNT_SID=YourAccountSIDHere
LOCAL_TWILLIO_SID=YourAuthTokenHere

11
README.md vendored
View File

@ -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