gulp buildWebtask
Bundle script file with the api ready to deploy to webtask.io will be generated at ./build/webtask.js
.
Bundle configuration file will be generated at ./build/webtask.config.js
.
Make sure you have wt-cli
installed and that your webtask
token is already configured in ./config/webtask.config.js
.
npm install -g wt-cli
wt init
=> then follow instructionswt profile get default
=> copy the token
- open
./config/webtask.config.js
and configure thewebtaskToken
property with your token
Then run:
gulp deployWebtask