.env
Create a file named .env
in the project root dir. Inside it export
the following environment variables:
TWILIO_ACCOUNT_SID
— a Twilio account SIDTWILIO_AUTH_TOKEN
— a Twilio auth tokenTWILIO_NUMBER_SID
— a SID for a twilio phone number for inbound/outbound calls/smsAWS_ACCESS_KEY_ID
— an AWS access key IDAWS_SECRET_ACCESS_KEY
— an AWS secret access keyAWS_DEFAULT_REGION
— the default AWS region to useDIGITALOCEAN_TOKEN
— a DigitalOcean API token (optional)AmazonDynamoDBFullAccess
AmazonLexFullAccess
The deployment process requires at minimum docker & docker-compose to be installed on the host machine.
sh deploy.sh up
-b
— Set the branch to checkout-l
— Runs in local mode (uses ngrok to expose a public URL)up
— Creates a DigitalOcean droplet (or runs docker-compose.local.yml in local mode)provision
— Runs docker-compose on the dropletstatus
— Shows the status of the droplet and ipv4 addressdown
— Destroys the droplet/docker-compose servicesssh
— Connects to the droplet via SSH