First clone this repository and cd
into it.
$ git clone git@github.com:TwilioDevEd/browser-dialer-vue.git
$ cd browser-dialer-vue
Copy the sample configuration file and edit it to match your configuration.
$ cp .env.example .env
You can find your TWILIO_ACCOUNT_SID
and TWILIO_AUTH_TOKEN
in your
Twilio Account Settings.
You will also need a TWILIO_NUMBER
, which you may find here, and you may find your TWILIO_TWIML_APP_SID
here.
Install dependencies.
$ npm install
Run the application.
$ npm start
Expose the application to the wider Internet using ngrok.
$ ngrok http 3000
Once you have started ngrok, update your App voice URL setting to use your ngrok hostname. It will look something like this:
http://<your-ngrok-subdomain>/voice