twilio-labs/create-twilio-function

Add a "npm run deploy" command

Closed this issue · 3 comments

It would be nice if we could have instructions for Serverless projects like:

git clone ...
cd project
npm install
cp .env.example .env
# Add credentials to .env
npm run deploy

Should there be npm scripts for the other things twilio-run can do?

Not right now. Btw you can drop --env from start. 2.0 introduced it as default

Ah, brilliant. Will add (well, remove) that too.