Serverless Lambda wrapper around node-googlecharts.
- Node.js > 4.0
- Serverless
Initializes a new Serverless project. more info
serverless project init -c true
Install project dependencies
npm install
serverless function run generate-svg
serverless dash deploy
node-googlecharts needs system dependencies that require specific environment variables to run. Unfortunately, AWS Lambda does not allow to define custom env variables for the whole lambda. Indeed, spawning child processes seem to be the recommended way according to amazon. more info