keep .env public and update readme

This commit is contained in:
ian ramzy 2020-03-28 14:24:40 -04:00
parent 5d4e783977
commit 469e37d73a
3 changed files with 1 additions and 20 deletions

6
.env
View File

@ -2,8 +2,4 @@
# It takes like 2 mins to get a free twilio account https://www.twilio.com/login
TWILIO_ACCOUNT_SID=ACfc9705a2b725a7a314995eb8635a9079
TWILIO_AUTH_TOKEN=9ab36b8ac190d20687aff0561749dbc1
# Example data of how yours should look, these are NOT real credentials
# TWILIO_ACCOUNT_SID=ACfc9705a2b725a7a314995eb8635a1234
# TWILIO_AUTH_TOKEN=9ab36b8ac190d20687aff0561234dbc1
TWILIO_AUTH_TOKEN=9ab36b8ac190d20687aff0561749dbc1

View File

@ -1,9 +0,0 @@
# Required for all uses
# It takes like 2 mins to get a free twilio account https://www.twilio.com/login
TWILIO_ACCOUNT_SID=YourAccountSID
TWILIO_AUTH_TOKEN=YourAccountAuthToken
# Example data of how yours should look, these are NOT real credentials
# TWILIO_ACCOUNT_SID=ACfc1205a2b725a7a314995eb8635a1234
# TWILIO_AUTH_TOKEN=9ab12b8ac190d20687aff0561234dbc1

View File

@ -23,12 +23,6 @@ cd decentralized-video-chat
```
npm install
```
* Create a `.env` file copying `.env.template` (You can copy the file using the command below).
```
cp .env.template .env
```
* Fill in your `Account SID` and `Auth Token` from your [Twilio console](https://www.twilio.com/console)
It takes 2 minutes to sign up for a free account.
* Start the server
```
npm start