mirror of
https://github.com/ianramzy/decentralized-video-chat.git
synced 2024-11-13 13:49:19 +08:00
add .env.template
This commit is contained in:
parent
0182d38e71
commit
13aac15a19
5
.env
vendored
5
.env
vendored
@ -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
5
.env.template
vendored
@ -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
11
README.md
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user